Nice to watch with CMLua:
--'by cosmo alias peter wirbelauer
paper (hrgb(240,255,255))
cls()
page = 0
local a,v = 0,0
w = screenwidth() /2
h = screenheight()/2
r = math.rad
repeat
activepage (page)
cls()
for a=0,360,10 do
ink(0)
circle(w+math.sin(r(a))*100, h+math.cos(r(a))*100, 10)
circle(w+math.cos(r(a))*110, h+math.sin(r(a))*110, 10)
end
ink (hrgb(255,0,0))
fillcircle(w+math.sin(r(v))* 80, h+math.cos(r(v))* 80, 10)
ink(hrgb(0,0,255))
fillcircle(w+math.cos(r(v))*110, h+math.sin(r(v))*110, 10)
v = v+10
if v >360 then
v=0
end
sleep (20)
visualpage (page)
page = page + 1
if page > 1 then
page = 0
end
until keypressed()