Free local tool

L-System Generator

Expand a deterministic context-free L-system and render its bounded turtle geometry locally.

Private by design: inputs stay in this browser tab. The tool sends no input to a server and stores nothing after the page closes.

JavaScript is required for the interactive tool.

Method and limits

Supports one deterministic production per symbol and turtle commands F/G, f, +, −, [, and ]. Limits: 10 iterations, 500,000 generated symbols, 250,000 drawn segments, 1,000 stack frames, and 64 rules. Expansion stops before exceeding a bound. No eval, stochastic rules, context-sensitive rules, parametric expressions, or 3D rendering are used.