Plant
by NightElfik
Short link: http://malsys.cz/g/YlF0OnLm
Comments
comments powered by DisqusSource code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | lsystem Plant5 { set symbols axiom = X; set initialAngle = 90; set iterations = 8; interpret F(age) as DrawForward(2^age, age / 2, lighten(#3F1D0B, random(0, 0.1))); interpret + as TurnLeft(360/14); interpret - as TurnLeft(-360/14); interpret [ as StartBranch; interpret ] as EndBranch; rewrite X to F(1) [ + X ] [ - X ] F(1) X; rewrite F(x) to F(x+1); } process all with SvgRenderer; |
Thumbnail extension
1 2 | process all with SvgRenderer set iterations = 8; |