Filled out making_a_scene overview

This commit is contained in:
Nathan Petrangelo 2019-07-08 01:13:49 -04:00
parent d01ca92120
commit 0645bc6acc

View file

@ -1,4 +1,17 @@
Making a Scene
==============
Talk about Scenes and organization, bring it all together.
To make a scene, jump on the table and do a dance. Oh, a manim scene? Alright.
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:
.. code-block:: python
:linenos:
from manimlib.imports import *
class ExampleScene(Scene):
def construct(self):
# Add and animate mobjects here