Dim array(400) as integer
Dim arrangle(400) as integer
Dim dist(400) as integer
For a = 0 to 399
array(a) = RGB(rnd(256),rnd(256),rnd(256))
Next a
For x = 0 to 19
For y = 0 to 19
Dot x+300,y+400,array(x+(y*20))
dist(x+(y*20)) = sqrt( ((300-x)^2)+((400-y)^2) )
arrangle(x+(y*20)) = atanfull(x,y)
Next y
Next x
Do
If leftkey()
For x = 0 to 399
arrangle(x) = arrangle(x) - 1
Next x
Endif
For x = 0 to 19
For y = 0 to 19
Dot sin(arrangle(x+(y*20)))*dist(x+(y*20))+300,cos(arrangle(x+(y*20)))*dist(x+(y*20))+400,array(x+(y*20))
Next y
Next x
Loop
Hold down leftkey for a few seconds, works better on a big screen.
Your signature has been deleted by a moderator because this joke is getting old.