Hexagonal Gosper curve
by NightElfik
Short link: http://malsys.cz/g/gWdH3n2m
Comments
comments powered by DisqusSource code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | lsystem HexagonalGosperCurve { set symbols axiom = L; set iterations = 5; set continuousColoring = true; interpret R L as DrawForward(4); interpret + as TurnLeft(60); interpret - as TurnLeft(-60); rewrite L to L + R + + R - L - - L L - R +; rewrite R to - L + R R + + R + L - - L - R; } process all with SvgRenderer; |
Thumbnail extension
1 2 | process all with SvgRenderer set iterations = 4; |