Gladir.com - Algorithme - Fractal


Chris Green de Halley La formule de Halley à la manière Chris Green est utilisé afin de créer un effet fractal. Voici donc son algorithme:

MODULE CGHalley ( XYAXIS )
   z ← ( 1 , 1 )
   z5z x z x z x z x z
   z6z x z5
   z7z x z6
   z ← z – p1 x ( ( z7z pixel ) / ( ( 7,0 x z6 – 1 ) - ( 42,0 x z5 ) x ( z7 – z - pixel ) / ( 14,0 x z6 – 2 ) ) )
   0,0001 <= | z7 - z - pixel |

Daisy L'algorithme de Daisy est utilisé afin de créer un effet fractal. Voici donc son algorithme:

MODULE Daisy ( ORIGIN )
   zpixel
   zz x z + (0.11031; -0,67037)
   | z | <= 4

Dragon L'algorithme de dragon est utilisé afin de créer un effet fractal. Voici donc son algorithme:

MODULE Dragon ( Origine )
   zPixel:
   z ← ( Ö z ) + ( -0.74543 ; 0,2 )
   | z | <= 4
Dernière mise à jour: Mardi, le 31 janvier 2006