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?
depends on which browser you have
Albtraumseele 3 years ago
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
MetaKz 4 years ago
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 :)
simonjeste 4 years ago
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
jth1963ut 4 years ago
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?
jth1963ut 4 years ago
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.
Sergeydgr8 4 years ago 2
Thats a cool demo
crinoo 5 years ago
trippy :0
TikaratheMew 5 years ago
im getting both the wii and ps3 and i dont know shit about v-games
lolgag 5 years ago
supercool! =)
danielacastilho 5 years ago