This is a cute little toy which takes a function from (x, y, time) -> (red, green, blue) and uses it to generate frames in an animation mutating the function's AST between each frame.
Run it like so:
python toy.py /tmp/test.mp4 --size 112 112 --frames 100