eye of sauron
Short link: http://malsys.cz/g/4rOTbJl2
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 EyeOfSauron { set symbols axiom = Y-Y+Y-Y; set iterations = 4; interpret F as DrawForward(10); interpret ? as MoveForward(10); interpret ! as TurnLeft(90); interpret + as TurnLeft(22.5); interpret - as TurnLeft(-22.5); interpret [ as StartBranch; interpret ] as EndBranch; rewrite F to F F; rewrite X to F-[[X]+X]+F[+F X]-X; rewrite Y to [!X!X!X!X]-[!X!X!X!X]-[!X!X!X!X]-[!X!X!X!X]-[!X!X!X!X]; } process all with SvgRenderer; |