Julia set: Difference between revisions
m
→{{header|EasyLang}}
MaiconSoft (talk | contribs) No edit summary |
|||
Line 842:
<lang>cx = -0.7
cy = 0.27015
for y
for x
iter
zx = (x
zy = (y
while zx * zx + zy * zy < 4 and iter
h = zx * zx - zy * zy + cx
zy = 2 * zx * zy + cy
zx = h
iter
.
if iter
color_red 0
else
color_red iter
.
move x
rect 0.4 0.4
.
|