2021 Nov

3D plant generator

This is an L-System visualizer I wrote in Rust. Systems are fully customizable and multiple "plants" can be generated. The UI is fairly primitive, using egui to directly modify data. (A refactor of the UI system is in order, as this was built purely to prototype and needs work on usability. Nevertheless I think the resulting images are pretty enough to share!) The embedded frame on this page is fully interactive.

Examples

Fractal Plant

Axiom: X
Rules:
    - X=F+[[^X]-vX]-F[-FX]+X<br>
    - F=FF<br>
    - Rotation: 25°<br><br>

A 3D adaptation of the formula available on Wikipedia and some other articles online.

A 3D teal fractal plant

Cyclone Kelp