A community-maintained Python framework for creating mathematical animations.
modification to requirements/example_scenes to make it slightly less unusable
Grant Sandersona3fa16ebcbc9
diff --git a/README.md b/README.mdindex 59f0757a3..5c3eb07f1 100644--- a/README.md+++ b/README.md@@ -1,14 +1,21 @@# animationsAnimation engine for explanatory math videos-updates coming...+For those who want to play around with this tool, I should+be upfront that I've mostly had my own use cases (i.e. 3b1b videos)+in mind while building it, and it might not be the most friendly thing+to get up and running. In particular, I have not done a great job+tracking requirements, and documentation is..well..sparse.## Install requirements```shpip install -r requirements.txt```-`aggdraw` has to be installed manually, pip can't do it for you.+Requirements to be installed outside of pip:+aggdraw+ffmpeg+latexHere are directions that should work on any 64 bit platform (tested on osx10.11.4)@@ -25,4 +32,7 @@ cd aggdraw-64bits## How to UseTry running the following:+python extract_scene.py -p example_scenes.py SquareToCircle++-p gives a preview of an animation, -w will write it to a file, and -s will show/save the final image in the animation.diff --git a/example_scenes.py b/example_scenes.pyindex 505d8b590..1340f3a53 100644--- a/example_scenes.py+++ b/example_scenes.py@@ -23,14 +23,14 @@ from mobject.tex_mobject import *from mobject.vectorized_mobject import *-## To watch one of these scenes, run the following:-## python extract_scenes.py -p <SceneName>+## python extract_scenes.py -p file_name <SceneName>class SquareToCircle(Scene):def construct(self):circle = Circle()square = Square()+ square.rotate(np.pi/8)self.play(ShowCreation(square))self.play(Transform(square, circle))self.dither()diff --git a/requirements.txt b/requirements.txtindex 447e84929..d744d4965 100644--- a/requirements.txt+++ b/requirements.txt@@ -1,4 +1,3 @@-aggdraw===2.0colour==0.1.2numpy==1.11.0Pillow==1.7.8