L-system Generator

An L-system rewrites an axiom using rules (one per line, e.g. F=F+F--F+F) for a number of iterations, then draws the result as turtle graphics: F/G move forward and draw, f moves without drawing, +/- turn by angle degrees, and [/] push/pop a branch point. Other letters (e.g. X) are no-ops used only to shape the rewriting.

FAQ