These fractal trees were created by using L-systems and rendered in OpenGL.
![](https://cdn.myportfolio.com/d462df95abe8eee47c4b5395890aa970/07f922b7-24ce-44b6-b95c-da79324b05cf_rw_1920.png?h=54524920e7949e0add463e2314801ae0)
variables : a b
constants : l r [ ]
axiom : b
rules : (a → a), (b → a[rb][lb])
angle : 20°
*tree shown with 11 recursions, I included commands to flip and re-draw the tree upside down upon completion
![](https://cdn.myportfolio.com/d462df95abe8eee47c4b5395890aa970/6000122d-28b8-4dc8-9344-2696c33b9bc0_rw_1920.png?h=08e4179267b65674fa57c2626510d4e0)
variables : f x y
constants : l r [ ]
axiom : x
rules : (f → ff), (x → fl[[xy]rxy]rf[rfxy]lx), (y → y)
angle : 22.5°
* tree shown with 6 recursions
![](https://cdn.myportfolio.com/d462df95abe8eee47c4b5395890aa970/37de26bb-b55e-4d03-9363-15d26f1cfd76_rw_1920.png?h=8bd492781da2eefccfab047f6338714f)
variables : t s
constants : l r [ ]
axiom : ts
rules : (t → tt), (s → [s]r[s])
angle : (360/(numberOfRecursions + 1))°
* tree shown with 7 recursions