Lindenmayer systems or L-systems for short is a string-rewitting system introduced by Aristid Lindenmayer in 1968.
L-Systems were initially used to model the growth of plants, but they can be also be used to generate fractals patterns.
I made a simple library based on React to play with L-systems. You can find it on Github.