Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Funky Javascript Demo

Loading...

Sign in or sign up now!
36,208
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Oct 7, 2006

Funky Javascript Demo

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 8 dislikes

Link to this comment:

Share to:
see all

All Comments (17)

Sign In or Sign Up now to post a comment!
  • depends on which browser you have

  • Haha.. all that math is scary enough :)

    It is a pretty sweet trick though. Now that I look back on it. In the last 9 months, Java has become more of a friend than a poltergiest to me. And I still know nothing on Javascript. :O

  • Not Java: JavaSCRIPT. It's the stuff that runs on the browser (client-side) that does stuff like validate web forms, change the status bar, open new windows, etc.

    The cool image moving code simply cycles thru all images on the page, and changes their .x, .y, and .z-level values based on COS/SIN (circle geometry). Not scary at all :)

  • Try this if you have a photobucket account. Log on to it and select a file of your photos. Be sure to select view all and i had to use IE vs firefox. VERY COOL. I would love to figure out how to post this on my blog or to use my picasa2 program to build this.  Thanks for sharing

  • I tried typing that in my browser(firefox) and I got a message that read: Firefox doesn't know how to open this because the protocol avascript isn't assoicated with any program. Suggestions?

  • ok, the trick to do this javascript is to go to a website that has a lot of pictures, and in the browser bar type in:

    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++}setInterval('A()',5­); void(0);

    lol, quite funny.

  • Thats a cool demo

  • trippy :0

  • im getting both the wii and ps3 and i dont know shit about v-games

  • supercool! =)

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more