Circular tile
by NightElfik
Short link: http://malsys.cz/g/bi5uXDim
Comments
comments powered by DisqusSource code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | lsystem CircularTile extends Branches { set symbols axiom = X-X-X-X-X-X-X-X-X-X-X-X-X-X-X-X-X-X-X-X-X-X-X-X; set iterations = 6; interpret F as DrawForward(12); interpret + as TurnLeft(15); interpret - as TurnLeft(-15); interpret ! as TurnLeft(-120); rewrite X to [ F - F - F - F [ + + + X + Y ] - - - - - F ! F + F + F + F ]; rewrite Y to [ F - F - F - F [ + + + Y ] - - - - - F ! F + F + F + F ]; } process all with SvgRenderer; |