Go back
Awsome Code!!

Awsome Code!!

General


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

Go to ANY website with pictures on it (Like RedHotPawn.com)

Paste the code on the address bar. Tell us what happens!

(If the code doesn't work, then go to http://www.vincentchow.net/345/fly-i...ith-javascript and do the process again with that code.)

2 edits
Vote Up
Vote Down

Originally posted by chess kid1
Copy this 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++}setInterval('A( .vincentchow.net/345/fly-i...ith-javascript and do the process again with that code.)
Without the smiley:


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);

1 edit
Vote Up
Vote Down

Originally posted by Daemon Sin
Without the smiley:


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);
Whoops I didn't know how the smiley got there...

So does that mean you tried it?

Vote Up
Vote Down

Originally posted by chess kid1
Whoops I didn't know how the smiley got there...

So does that mean you tried it?
They sneak in when you're not looking.... 😲

Vote Up
Vote Down

Originally posted by Daemon Sin
They sneak in when you're not looking.... 😲
Lol

2 edits
Vote Up
Vote Down

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)
Shouldn't you have a few semi-colons in there?

Edit: Nope you are correct, my apologies.

Nice bit of code.

I will not burn it.

Vote Up
Vote Down

Very hypnotic.

It is telling me to send you all my money.

😉

Vote Up
Vote Down

yeah right. -.- lol

Vote Up
Vote Down

Originally posted by chess kid1
yeah right. -.- lol
Try it on the general threads page, lots of little symbols and just the red hot pawn logo.

I am like a kitten with a ball of string, just can not let it go.

😉

Vote Up
Vote Down

That was pretty cool. A little dizzying but fun.

Vote Up
Vote Down

As well as what it's obviously intended to do, it changed the font on my browser. I had to close it and restart it to get it back to normal.

Vote Up
Vote Down

Originally posted by Ian68
As well as what it's obviously intended to do, it changed the font on my browser. I had to close it and restart it to get it back to normal.
Thats a weird one, there is not much in that code that would do that.

It just gathers some images and then applies some maths to make them move together.

No font altering magic there.

Vote Up
Vote Down

That's whack!

P-

Vote Up
Vote Down

Originally posted by chess kid1
Copy this 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++}setInterval('A( ...[text shortened]... .vincentchow.net/345/fly-i...ith-javascript and do the process again with that code.)
Yeah...
That's all I need. More things floating around out of their own free will...

Vote Up
Vote Down

Originally posted by shavixmir
Yeah...
That's all I need. More things floating around out of their own free will...
Is that good or bad? o.O