Mandelbrot set: Difference between revisions
Content deleted Content added
Line 2,593:
=={{header|Easyprog.online}}==
[https://easyprog.online/ide/run.html?code=floatvars%0Awhile%20y%20%3C%20300%0Ax%20%3D%200%0Awhile%20x%20%3C%20300%0Azx%20%3D%200%0Azy%20%3D%200%0Acx%20%3D%20%28x%20-%
<lang>floatvars
Line 2,603:
cx = (x - 220) / 120
cy = (y - 150) / 120
iter =
while zx * zx + zy * zy < 4 and iter > 0
h = zx * zx - zy * zy + cx
Line 2,611:
.
move x / 3 y / 3
color_red iter /
rect 0.4 0.4
x += 1
|