randomize timer():autocam off:hide mouse:sync on:sync rate 60
color backdrop 0:position camera 0,0,-150:dim s(20):for z=100 to 250:make object sphere z,rnd(45)+5
color object z,rgb(0,100,200):ghost object on z:rotate object z,rnd(359),90,0:position object z,rnd(260)-130,rnd(200)-100,0:s(z)=rnd(20)+10
next z:do:if mousemovex() or mousemovey() or mouseclick() or scancode():end:endif
for z=100 to 250:if object exist(z):move object z,s(z)*.00000005:if abs(object position x(z))>150:position object z,object position x(z)*-1,object position y(z),0
endif:if abs(object position y(z))>120:position object z,object position x(z),object position y(z)*-1,0:endif:endif
next z:sync
loop