Hey people, courtesy of spluch I found this really awesome image javascript from stopgeek.com.
Copy and paste the following into your 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.getElementsByTagName("img"); 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)+"px"; DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+"px"}R++}setInterval('A()',5); void(0);
Go ahead. Try it, and be wowed. It’s really neat! (if you don’t see anything, try scrolling all the way up.)
Readers who read this, also read:
8 responses
Leave your comment
Leave your comment
Organic








Popular
Latest
Comments

uzyn
October 27
Hehe yeah. Pretty cool.
This was on Digg’s frontpage at least twice.
Vic
October 27
Hehe, glad you guys enjoyed the little script.
Its specially funny when you try it on a forum with a lot of smilies. Its almost scary.
Veron
October 28
Wow uzyn, this made front page news and I only knew of it today… But seriously, it’s the coolest image effect I’ve seen in javascripts so far.
Veron
October 28
Yo Vic, thanks for dropping by! I should try this with smilies some time.
changing
December 31
i just accidental get here !
it’s really beautiful here!
oh,i am a chinese gril!
i am searching a website where i can download the English script.
would you mind to give me a hand ?
give me some good webs about the download of script!
thanks!
geetha
October 22
Hey, I just tried your image script but nothing happens… y????
Chaozhouzi
July 14
geetha, did you tried it on a blank page. Just happened to me. I tried it with the yahoo page loaded and it work. The script moved the images around on the page.
Chaozhouzi
July 14
just tried the script on this site and it was awesome. But be warned, read through the site first before trying the script for you will have to close the browser.