Leaf

TUTORIAL

Leaf

Leaf; Paul Bourke; http://paulbourke.net/fractals http://paulbourke.net/fractals/ifs_leaf_a/ vergleiche http://ecademy.agnesscott.edu/~lriddle/ifskit/gallery/gallery.htm

canvasmodus()
IFS.funktionen = (IFS.affin(l) for l in [
    [ 0.000000, 0.243900, 0.000000, 0.305300, 0.000000, 0.000000 ],
    [ 0.724800, 0.033700, -0.025300, 0.742600, 0.206000, 0.253800 ],
    [ 0.158300, -0.129700, 0.355000, 0.367600, 0.138300, 0.175000 ],
    [ 0.338600, 0.369400, 0.222700, -0.075600, 0.067900, 0.082600 ],
  ]
)

IFS.gewichtung = [ 0.01, 0.7, 0.14, 0.15 ]
IFS.transformiere = (x,y) => [400*x-200, 400*y-200]
IFS.zeichnen 200000