Awesome Image Script
Technology

Awesome Image Script

Email this article to a friend Email Print-friendly article Print-friendly Make text smaller Text size Make text bigger

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.)




About the Author
Veron Ang

Veron Ang is the founder and chief editor of Sparklette. She lives in Singapore and has dined and traveled across the world. She also runs Sparklette Studio, a and firm. If you'd like to connect with her, head on over to the contact page or follow her personal updates on Twitter: @VeronSG.


Comments 8 responses Leave your comment Leave your comment

  1. uzyn
    October 27, 2006
     

    Hehe yeah. Pretty cool.

    This was on Digg’s frontpage at least twice.

    Reply

  2. Vic
    October 27, 2006
     

    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.

    Reply

  3. VeronTwitter
    October 28, 2006
     

  4. VeronTwitter
    October 28, 2006
     

  5. changing
    December 31, 2006
     

    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!

    Reply

  6. geetha
    October 22, 2008
     

    Hey, I just tried your image script but nothing happens… y????

    Reply

  7. Chaozhouzi
    July 14, 2009
     

    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.

    Reply

  8. Chaozhouzi
    July 14, 2009
     

    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.

    Reply
Leave your comment Leave your comment

Note: No keyword or domain as name. Spamming or advertising is not allowed.



Your imageTo display a personalised picture, get a Gravatar.