/cat

Arnold Cat

Primary LanguagePython

cat

This project is to demonstrate the Arnold Cat map.

Just type python cat.py and then look through generate images (cat_000.png ... cat_150.png).

The code is slightly modified from this

Use convert to make an animated GIF file:

convert -delay 20 -loop 0 cat_???.png  cat.gif

Requirements

pip install Image numpy

Or install PIL or Pillow instead of Image... (Image should install Pillow).

Demo animate (use 121 frames)

Animated Cat

Reference