Triangle

Written by Paul Bourke


L-Systems

axiom = F+F+F
F -> F-F+F
angle = 120


As an IFS

The IFS equations are as follows

xn+1 = a xn + b yn + e

yn+1 = c xn + d yn + f

The parameter table:
                   set 1       set 2      set 3
             a     0.0         0.0        0.0
             b     0.577       0.577      0.577
             c    -0.577      -0.577     -0.577
             d     0.0         0.0        0.0
             e     0.0951      0.4413     0.0952
             f     0.5983      0.7893     0.9893
   probability     1/3         1/3        1/3