| For i = 1 to 15000 do | ||
| w0 = x0-c0 | ||
| w1 = x1-c1 | ||
| let theta = argument of the complex number w0 + w1i | ||
| let r = modulus of the complex number w0 + w1i | ||
| let t = 0 or 1 | ||
| let theta = theta/2 + t*pi | ||
| x0 = r cos(theta) | ||
| y0 = r sin(theta) | ||
| if (i > 50) then | ||
| display pixel | ||
| end if | ||
| end for | ||
