L-system
Also called: Lindenmayer system
Related terms: grammar, turtle graphics, procedural plants
A way to grow shapes by rewriting text. Start with a short string and replace each letter by a rule, again and again. Then read the result as drawing commands: F is go forward, + and - are turn, [ and ] are start and end a branch.
One short rule grows into a tree, a fern or a bolt of lightning. Games use it for plants and for road networks.
F becomes F[+F]F[-F]F