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
|
|
|
|
# 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
|
2016-05-25 20:39:13 -07:00
|
|
|
Try running the following:
|
|
|
|
python extract_scene.py -p example_scenes.py SquareToCircle
|
2016-05-25 22:18:06 -04:00
|
|
|
|