Skip to content

"With four parameters I can fit an elephant, and with five I can make him wiggle his trunk"

Notifications You must be signed in to change notification settings

jramirezpr/fourier-elephant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fourier-elephant

"With four parameters I can fit an elephant, and with five I can make him wiggle his trunk" python 3 code implementation of "Drawing an elephant with four complex parameters" (2010) using new matplotlib animations. To create movie, ffmpeg must be installed

https://ffmpeg.org/download.html#build-windows

before running elephan.py from ipython, run the following magic command to change engine to qt5

import matplotlib
%matplotlib qt5

after running elephan.py, you should see this animation:

alt text

About

"With four parameters I can fit an elephant, and with five I can make him wiggle his trunk"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages