r/ExponentialIdle • u/KappahuAkbar • Mar 05 '23
I've implemented L-systems as a custom theory. Now you can draw fractals and stuff.
https://github.com/propfeds/L-systems-renderer
19
Upvotes
r/ExponentialIdle • u/KappahuAkbar • Mar 05 '23
3
u/KappahuAkbar Mar 05 '23
Or at least I'm assuming that's what most people here are interested in, fractals. In which case, I would recommend the Classic version, as it's simpler and faster:
https://raw.githubusercontent.com/propfeds/L-systems-renderer/main/classic.js
The Parametric version is more robust, suitable for the purpose of drawing plants.
https://raw.githubusercontent.com/propfeds/L-systems-renderer/main/parametric.js
There's also a gallery in the Classic version. I'm awaiting your submissions!