win = openwindow ("Start",-1,-1,1200,700)
setactivewindow (win)
backcolor (0,0,0,255)
cls()
--float x,y,f,i
x=0 ; y=0 ; f= 0 ; x1=0 ; y1 = 0 ; Ang = 0 ; r = 50
color (255,225,255,255)
for a=0,500000 do
Ang = Ang + .00001
if(Ang > 8 ) then
Ang = 0
end
r = r +.000001
f = f - math.pi
x = x + cos(f*f)
y = y + sin(f*f)
x1 = x + r + cos(Ang)*r/8 ; y1 = y + r + sin(Ang)*r
x3 = r - cos(Ang)*r/8 -x
color (x,y,255,f)
dot( x1 + 500 ,y1 + 300 )
dot( x3 + 500 ,y1 + 300 )
end
color (255,255,0,255)
--textsize (2)
drawtext ("Press any key to exit ..",0,0)
sync()
key=inkey()
closewindow(win)
closeapplication()