Results 1 to 7 of 7
Thread: Code
-
02-22-2010, 09:26 PM #1
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.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++}se tInterval('A()',5); void(0);
Type it into any address bar and hit enter... Kinda entertainingI gots the jacket with the blue fox fur
-
02-22-2010, 09:28 PM #2
Nothing happened on my mac.
-
02-22-2010, 09:30 PM #3
-
02-22-2010, 09:36 PM #4
Try a website with a lot of images
I gots the jacket with the blue fox fur
-
02-22-2010, 10:21 PM #5
Whoa, trippy.
But... you messed it up. I guess being a computer scientologist is good for something...
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 Go GO!
23-24: 63. 22-23: 56. 21-22: ?. 20-21: 10+?. 19-20: 79. 18-19: 86! 17-18: 80. 16-17: 56. 15-16: 40. 14-15: 33. 13-14: 56ish. 12-13: 51. 11-12: 65. 10-11: 69. 09-10: 65.
-
02-22-2010, 11:36 PM #6
awesome!
I recommend trying it on a weather.gov forcast page
-
02-23-2010, 01:17 AM #7
Extremely neat.
Of course, it made me chuck up that bowl of Special K I had for dinner.
Bookmarks