Rendering fractals defined as L-systems 🕸
This is a simple implementation of a L-systems renderer.
Given a ruleset, it will derive axioms and render instructions using a Turtle drawer.
Rule | Effect |
---|---|
F | Draw a line of stepSize and translate to end point. |
f | Move to the end point without drawing. |
+ | Rotate by angle |
- | Rotate by -angle |
Made when I was reading The Nature of Code.
Click anywhere on the screen to advance to next derivation or grammar.
Simply run a HTTP server on the repository root.
Or se it live here.