Islands and lakes
by NightElfik
Short link: http://malsys.cz/g/Wc9hZv46
Comments
comments powered by DisqusSource code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | lsystem IslandsAndLakes { set symbols axiom = F + F + F + F; set iterations = 2; interpret F as DrawForward(8); interpret f as MoveForward(8); interpret + as TurnLeft(90); interpret - as TurnLeft(-90); rewrite F to F + f - F F + F + F F + F f + F F - f + F F - F - F F - F f - F F F; rewrite f to f f f f f f; } process all with SvgRenderer; |