Perturbation{ init: complex reference[1000000] int i=0 complex Z = (0,0) complex delta=0 ; Init the delta variable to zero delta0 = #pixel-#center ; delta0 is the distance from the reference point to the point to be calculated if (i==0) while (i<=#maxiter) Z = Z * Z + #center reference[i] = Z i=i+1 endwhile endif i=0 loop: delta = 2*reference[i]*delta + delta*delta + delta0 i=i+1 bailout: |reference[i]+delta|<=@bailout default: float param bailout default = 100.0 ;min = 1.0 endparam }