Hi,
A little bit Mandelbrot RIP
screen(600,430,0,"Mandel Utopia")
local i,x,y,zx,zy,cx,cy,tmp,miter,zm =0,0,0,0,0,0,0,0,570,150
color(255,255,255)
drawtext(100,32,"WAIT....")
redraw()
for y=0,screenheight()+80 do
for x=0, screenwidth()+50 do
zx=0
zy=0
cx= (x-400)/zm
cy= (y-300)/zm
i = miter
while zx*zx+zy*zy <4 and i >0 do
tmp = zx * zx - zy * zy + cx
zy = 2 * zx * zy + cy
zx = tmp
i=i-1
end
color(i*12,i*7,i*3)
dot(x-50,y-80)
end
end
redraw()
inkey()
closewindow()