Clambering plant
by David Dostal
Short link: http://malsys.cz/g/hdbHBfoA
Comments
comments powered by DisqusSource code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | lsystem ClamberingPlant{ set symbols axiom = F; set iterations = 5; set initialAngle = 90; interpret F as DrawForward(20, 3, #127A67); interpret G as DrawForward(20, 3, #127A67); interpret + as TurnLeft(30); interpret - as TurnLeft(-30); interpret [ as StartBranch; interpret ] as EndBranch; rewrite F to F-F+G; rewrite G to G[-F][+F]G; } process all with SvgRenderer; |
Thumbnail extension
1 2 | process all with SvgRenderer set iterations = 4; |