I’ve been playing around with Context Free Art again lately. It’s a little program lets you define little context-free “programs” that produce artwork, like the cool movie above. Plus, there a ton of samples on the site that you can experiment with.
Here’s the program for the tree above:
startshape PLANT rule PLANT { EITHER {x -2} EITHER {x 2} } rule BOTH { BL {rotate 30} BL {rotate -30 flip 90} } rule EITHER {BL{}} rule EITHER {BL{flip 90}} rule BL { CIRCLE {} WL {size 0.95 y 1.6} } rule WL {BL {rotate 3}} rule WL {BL {rotate 4}} rule WL {BL {rotate 5}} rule WL {BL {rotate 6}} rule WL {BL {rotate 7}} rule WL {BL {rotate 3}} rule WL {BL {rotate 4}} rule WL {BL {rotate 5}} rule WL {BL {rotate 6}} rule WL {BL {rotate 7}} rule WL {BOTH {}} rule WL {BL {rotate -10 flip 90}}