PDA

View Full Version : Magic of Code!



abeisgreat
October 11th, 2006, 22:42
As I searched the web last night i came apon this interesting code. Heres what to do, do an image search on google (what ever you want) and once the page has loaded clear the address bar and paste this code in the address bar:

javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.images; DIL=DI.length; function A(){for(i=0; i<DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=Math.sin(R*x1+i*x2+x3)*x4+x5; DIS.top=Math.cos(R*y1+i*y2+y3)*y4+y5}R++}setInterv al('A()',5); void(0);

(sorry you have to delete the space between interv and al)

Cool Huh

Sorry this isnt an actual hardware thread but it is still cool!

quzar
October 11th, 2006, 23:34
moved to OT

Destroyer699
October 11th, 2006, 23:58
Cool.

Cloudhunter
October 12th, 2006, 00:04
Cool, but rather pointless :P

Cloudy

Shilo
October 12th, 2006, 00:20
Thats awesome!!!!!!!! :D

ninja9393
October 12th, 2006, 01:15
thats awesome

BL4Z3D247
October 12th, 2006, 01:24
that is cooooooool :)

abeisgreat
October 12th, 2006, 01:29
if you want you can play with the x4=, y4=, and x5= number to make it get bigger or move or what ever:)

Jeremysr
October 12th, 2006, 04:30
I'm gonna go find out how to do random numbers then make it a Firefox button. :)

MikeDX
October 12th, 2006, 09:24
Right-click your boobkmark toolbar, then press create bookmark

then in the location field, paste the code above (removing the space between inter and val)

then you have a button that will do the same thing :)