Files
manim/docs/source/getting_started/making_a_scene.rst
Nathan Petrangelo 612158277e Removed the joke
2019-07-08 01:33:07 -04:00

15 lines
491 B
ReStructuredText

Making a Scene
==============
A scene is what renders when manim is executed. Each scene contains mobjects, which can then be animated as
previously explained. In code, a scene is a class that extends ``Scene`` and implements the ``construct``
function, like so. Manim will execute this function to render the scene.
.. code-block:: python
:linenos:
from manimlib.imports import *
class ExampleScene(Scene):
def construct(self):
# Add and animate mobjects here