Animation engine for explanatory math videos
Find a file
2016-05-25 20:31:03 -07:00
animation Additive/multiplicative rules 2016-04-30 15:08:53 -07:00
mobject Moving thing files around after TOP project 2016-05-25 20:23:06 -07:00
old_projects Moving thing files around after TOP project 2016-05-25 20:23:06 -07:00
scene Vectorize all the things 2016-04-17 00:31:38 -07:00
topics Finished triangle of power project 2016-05-03 23:14:40 -07:00
.gitignore ignores pyc files 2016-05-25 22:17:31 -04:00
__init__.py Beginning Hilbert project 2015-11-23 10:34:42 -08:00
camera.py Additive/multiplicative rules 2016-04-30 15:08:53 -07:00
constants.py Merge pull request #1 from scottopell/master 2016-05-25 20:31:03 -07:00
example_scenes.py Added example_scenes.py to make things slightly less unfriendly 2016-05-25 20:28:22 -07:00
extract_scene.py Starting redo of Brachistochrone 2016-03-07 19:07:00 -08:00
generate_logo.py Added example_scenes.py to make things slightly less unfriendly 2016-05-25 20:28:22 -07:00
helpers.py Initial few triangle scenes of TOP project 2016-04-27 17:35:04 -07:00
README.md adds dependencies in requirements.txt and moves output directory within the folder so its self contained 2016-05-25 22:18:06 -04:00
requirements.txt adds dependencies in requirements.txt and moves output directory within the folder so its self contained 2016-05-25 22:18:06 -04:00
stage_animations.py Finished triangle of power project 2016-05-03 23:14:40 -07:00
template.tex TexMobjects are looking pretty good 2016-04-17 12:59:53 -07:00
text_template.tex Vectorize all the things 2016-04-17 00:31:38 -07:00

animations

Animation engine for explanatory math videos

updates coming...

Install requirements

pip install -r requirements.txt

aggdraw has to be installed manually, pip can't do it for you.

Here are directions that should work on any 64 bit platform (tested on osx 10.11.4)

This doesn't install freetype, but I don't think its required for this project

cd $TMPDIR
# or hg clone https://stefanfoulis@bitbucket.org/2degrees/aggdraw-64bits
# instead of the next 2 commands
wget https://bitbucket.org/2degrees/aggdraw-64bits/get/a95a86958b68.zip
unzip a95a86958b68.zip -d aggdraw-64bits
cd aggdraw-64bits
/usr/local/bin/python setup.py build_ext -i
/usr/local/bin/python setup.py install

How to Use

Not exactly sure. I think I'm supposed to run python extract_scene.py generate_logo.py, but that fails with the following error.

Traceback (most recent call last):
  File "extract_scene.py", line 205, in main
    handle_scene(SceneClass(**scene_kwargs), **config)
  File "/Users/scott/scratch/manim/scene/scene.py", line 32, in __init__
    self.construct(*self.construct_args)
  File "/Users/scott/scratch/manim/./generate_logo.py", line 50, in construct
    self.interpolation_factor
TypeError: interpolate() takes exactly 5 arguments (4 given)