Manim Community source

Official Manim examples

Every listing is extracted from the pinned upstream Manim documentation, compiled inside the production renderer container, and played as a public MP4. No example program is maintained in the web source.

62 rendered MP4s from 65 extracted directives.

VMobjectDemo

The handles are drawn as red dots with a line to their closest anchor.

v0.20.1

guides/deep_dive.rst

TransformCycle

The code below avoids having to keep a reference to the last mobject that was transformed.

v0.20.1

tutorials/quickstart.rst

OpeningManim

Advanced Projects

v0.20.1

examples.rst

SineCurveUnitCircle

self.wait()

v0.20.1

examples.rst

LaTeXAlignEnvironment

when typesetting multiline formulae:

v0.20.1

guides/using_text.rst

AnimateExample

the use of :meth:`.animate`.

v0.20.1

tutorials/building_blocks.rst

RunTime

Use the :code:`run_time` argument to control the duration.

v0.20.1

tutorials/building_blocks.rst

MovingAngle

self.play(square.animate.rotate(0.4))

v0.20.1

examples.rst

MovingAround

self.wait()

v0.20.1

examples.rst

MovingDots

You can use multiple ValueTrackers simultaneously.

v0.20.1

examples.rst

MovingFrameBox

self.wait(0.5)

v0.20.1

examples.rst

MovingGroupToDestination

self.wait()

v0.20.1

examples.rst

PointMovingOnShapes

Animations

v0.20.1

examples.rst

PointWithTrace

self.wait(0.5)

v0.20.1

examples.rst

RotationUpdater

self.wait()

v0.20.1

examples.rst

SomeAnimations

your scene by calling the :meth:`~.Scene.play` method.

v0.20.1

tutorials/building_blocks.rst

BooleanOperations

self.add(image, image.background_rectangle)

v0.20.1

examples.rst

BraceAnnotation

self.add(logo)

v0.20.1

examples.rst

GradientImageFromArray

self.add(numberplane, dot, arrow, origin_text, tip_text)

v0.20.1

examples.rst

ManimCELogo

Basic Concepts

v0.20.1

examples.rst

VectorArrow

self.add(line, dot, dot2, b1, b2, b1text, b2text)

v0.20.1

examples.rst

CountingScene

Once you have defined your ``Count`` animation, you can play it in your :class:`~.Scene` for any duration you want for any :class:`~.DecimalNumber` with any rate function.

v0.20.1

tutorials/building_blocks.rst

CreatingMobjects

screen, simply call the :meth:`~.Scene.remove` method from the containing

v0.20.1

tutorials/building_blocks.rst

DisableLigature

You can disable ligatures by passing ``disable_ligatures`` to

v0.20.1

guides/using_text.rst

AddPackageLatex

we have to add it manually.

v0.20.1

guides/using_text.rst

This upstream example did not produce a public MP4 during the latest build.

ToyExample

Actually rendering the code yields the following video:

v0.20.1

guides/deep_dive.rst

IterateColor

For example, you can set each letter to different color by iterating it.

v0.20.1

guides/using_text.rst

AMSLaTeX

as the ``mathtt`` math-text type or the ``looparrowright`` arrow.

v0.20.1

guides/using_text.rst

LaTeXAttributes

color of the TeX mobject.

v0.20.1

guides/using_text.rst

LaTeXMathFonts

ready for you to use. These templates will all work in math mode:

v0.20.1

guides/using_text.rst

This upstream example did not produce a public MP4 during the latest build.

LaTeXTemplateLibrary

should use :class:`~.Text` instead.

v0.20.1

guides/using_text.rst

This upstream example did not produce a public MP4 during the latest build.

MobjectZOrder

previous section, except for exactly one line.

v0.20.1

tutorials/building_blocks.rst

MobjectPlacement

``MobjectPlacement`` uses all three.

v0.20.1

tutorials/building_blocks.rst

Shapes

circle, a square, and a triangle:

v0.20.1

tutorials/building_blocks.rst

GraphAreaPlot

self.wait()

v0.20.1

examples.rst

HeatDiagramPlot

self.play(t.animate.set_value(5))

v0.20.1

examples.rst

PolygonOnAxes

self.add(ax, labels, curve_1, curve_2, line_1, line_2, riemann_area, area)

v0.20.1

examples.rst

SinAndCosFunctionPlot

Plotting with Manim

v0.20.1

examples.rst

LineSpacing

You can set the line spacing using :attr:`~.Text.line_spacing`:

v0.20.1

guides/using_text.rst

DifferentWeight

self.add(a)

v0.20.1

guides/using_text.rst

SlantsExample

Weight specifies the boldness of a font. You can see a list of weights in

v0.20.1

guides/using_text.rst

FixedInFrameMObjectTest

self.wait()

v0.20.1

examples.rst

FollowingGraphCamera

Special Camera Settings

v0.20.1

examples.rst

MovingZoomedSceneAround

self.play(Restore(self.camera.frame))

v0.20.1

examples.rst

ThreeDCameraIllusionRotation

self.wait()

v0.20.1

examples.rst

ThreeDCameraRotation

self.add(axes, sphere)

v0.20.1

examples.rst

ThreeDLightSourcePosition

self.wait()

v0.20.1

examples.rst

MobjectStyling

The following scene changes the default aesthetics of the mobjects.

v0.20.1

tutorials/building_blocks.rst

CorrectLaTeXSubstringColoring

each occurrence first:

v0.20.1

guides/using_text.rst

LaTeXSubstrings

``\bigstar`` part:

v0.20.1

guides/using_text.rst

HelloLaTeX

For example,

v0.20.1

guides/using_text.rst

HelloWorld

Here is a simple *Hello World* animation.

v0.20.1

guides/using_text.rst

SingleLineColor

For example:

v0.20.1

guides/using_text.rst

ShowScreenResolution

rendered in our documentation with a reference frame.

v0.20.1

guides/configuration.rst

ExampleRotation

function of numpy:

v0.20.1

tutorials/building_blocks.rst

ExampleTransform

It is also possible to transform a mobject into another mobject like this:

v0.20.1

tutorials/building_blocks.rst

IndexLabelsMathTex

to easily find the components of the mobject you would like to change.

v0.20.1

guides/using_text.rst

SimpleColor

You can set the color of the text using :attr:`~.Text.color`:

v0.20.1

guides/using_text.rst

Textt2cExample

and the values should be the color from :class:`~.Color`:

v0.20.1

guides/using_text.rst

MobjectExample

and :meth:`~.Mobject.get_start`. Here is an example of some important coordinates:

v0.20.1

tutorials/building_blocks.rst

FontsExample

[...]

v0.20.1

guides/using_text.rst

GradientExample

be an iterable of any length:

v0.20.1

guides/using_text.rst

t2gExample

interface for colors <using-colors>`:

v0.20.1

guides/using_text.rst

MarkupTest

and further references about PangoMarkup.

v0.20.1

guides/using_text.rst

MathTeXDemo

``$\xrightarrow{x^6y^8}$``:

v0.20.1

guides/using_text.rst