pouët.net

browser demo effect

category: general [glöplog]
open any website ( pouet works jjjuuust fine ), enter the following text into address bar, press enter ( works in ie, firefox, doesn't work in opera so far )
Code: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)
added on the 2006-09-23 14:29:00 by apricot apricot
i didn't get why to post it to bbs until i saw it.

just cool :)
woohoo !
added on the 2006-09-23 14:37:22 by 4kum4 4kum4
Nice :)
Great idea!

Here is a slightly size optimized version:

Code: javascript:R=0;DI=document.images;function A(){for(i=0;i<DI.length;){DIS=DI[i++].style;DIS.position='absolute';DIS.left=(Math.sin(R+i/4)+1)*400;DIS.top=(Math.cos(R/2+i/4+1.6)+1)*400}R+=0.1}setInterval('A()',5);void(0)
added on the 2006-09-23 14:47:34 by Stelthzje Stelthzje
looks mad at home page :D
awesome!
added on the 2006-09-23 15:00:34 by LiraNuna LiraNuna
how to enlighten a gray saturday afternoon :D
added on the 2006-09-23 15:01:16 by Zest Zest
this is (c) some unknown guy, i've just copypasetd this.
added on the 2006-09-23 15:06:03 by apricot apricot
doesn't work here. not in ie nor firefox.
added on the 2006-09-23 15:43:10 by kusma kusma
Damn, that was good!
added on the 2006-09-23 16:05:51 by CiH CiH
doesn't work here. not in firefox nor ie.
added on the 2006-09-23 16:07:55 by rmeht rmeht
wooo
BB Image
added on the 2006-09-23 16:41:51 by doomdoom doomdoom
To all the people who say it doesn't work, did you open a new tab first before pasting it?

Paste it into the URL of this tab while viewing this page. Also, make sure JS is turned on.
added on the 2006-09-23 17:53:59 by xeron xeron
Oh yeah, and its really nice :)
added on the 2006-09-23 17:54:08 by xeron xeron
Quote:
doesn't work in opera so far

yes it does :)
added on the 2006-09-23 17:56:46 by Sverker Sverker
ah look it does indeed. it must be i've done something wrong :)
added on the 2006-09-23 18:04:00 by apricot apricot
Great :)
added on the 2006-09-23 18:07:14 by Preacher Preacher
very impressive :)
added on the 2006-09-23 18:46:05 by decipher decipher
lol. This makes my CPU utilization jump to 90%...
cool nevertheless!
added on the 2006-09-23 19:39:03 by raer raer
Nickel, it's pure light code... again...
Oh!

That's wacky.
added on the 2006-09-23 20:47:06 by crusader crusader

login