watch SVTP orbit around your screen

poosay

New Member
Established Member
Joined
Dec 25, 2005
Messages
338
Location
Raleigh, NC
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.tan(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);

^ type that int your URL up top, hit enter, and be amazed
 

JasonSnake

Active Member
Established Member
Joined
Oct 11, 2005
Messages
6,739
Location
USA
LOL awesome. What is that, java? I can't wait to start that class. Right now just doing C++
 

DKS2814V

Moderately Modified
Established Member
Joined
Mar 6, 2005
Messages
4,286
Location
Houston, Texas
Thats pretty sweet man. I'm worthless when it comes to programming stuff like that. I know engineering programs though!!! Doesn't do shit for today's world.
 

CyberDaveA

Member
Established Member
Joined
Apr 26, 2004
Messages
764
Location
Orlando, FL
Thats great... I just pulled up a co-workers graphic design webpage and copied the code... I called him over and asked him what was wrong with his page. He started freaking out... it was hilarious.
 
Joined
Aug 21, 2003
Messages
8,394
Location
Earth
CyberDaveA said:
Thats great... I just pulled up a co-workers graphic design webpage and copied the code... I called him over and asked him what was wrong with his page. He started freaking out... it was hilarious.
:lol: :lol: :lol: :lol: :lol:
 

JasonSnake

Active Member
Established Member
Joined
Oct 11, 2005
Messages
6,739
Location
USA
I just had an idea...will it work on myspace ? :idea: :idea: Time to start posting comments on A LOT of friends....
 

carrrnuttt

My shit don't stink
Established Member
Joined
Aug 4, 2003
Messages
7,676
Location
Phoenix, AZ...hot sun, hotter girls
Here's a variation:

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 )
 

Users who are viewing this thread



Top