Attracteur  d'Ikeda


Algorithme

choose c1

choose c2

choose c3

choose rho = 1

choose x0, y0

x = x0

y = y0

for i = 1 TO max

plot (x,y)

temp = c1 - c3 / (1 + x * x + y * y)

sintemp = SIN(temp)

costemp = COS(temp)

xt = rho + c2 * (x * costemp - y * sintemp)

y = c2 * (x * sintemp + y * costemp)

x = xt

NEXT


[Image]