2015-03-22 12:50:58 -06:00
|
|
|
# animations
|
|
|
|
Animation engine for explanatory math videos
|
2015-03-22 12:53:50 -06:00
|
|
|
|
|
|
|
updates coming...
|
2016-05-25 22:18:06 -04:00
|
|
|
|
|
|
|
## Install requirements
|
|
|
|
```sh
|
|
|
|
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
|
2016-05-26 11:13:36 -04:00
|
|
|
git clone https://github.com/scottopell/aggdraw-64bits
|
2016-05-25 22:18:06 -04:00
|
|
|
cd aggdraw-64bits
|
|
|
|
/usr/local/bin/python setup.py build_ext -i
|
|
|
|
/usr/local/bin/python setup.py install
|
|
|
|
```
|
|
|
|
|
|
|
|
## How to Use
|
2016-05-25 20:39:13 -07:00
|
|
|
Try running the following:
|
|
|
|
python extract_scene.py -p example_scenes.py SquareToCircle
|