SRL Archive - News and General

Cool Internet Effect


Dusk412

2007-12-26 20:28:45

I am sure most of you have seen this before but it's always fun to post it and see who likes it. Go to some sort of search engine (I usually use google) and search for some pictures. Then replace the URL (the http://www. - stuff at the top of your screen) with this bit of 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.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)


*EDIT* An idea by dr.quantumphysics was to use this while watching a youtube video. You guys should all check that out :D.
*EDIT* I tried the video but all it did was take other pictures from the screen and do the effect on them and on full screen i cant change the URL. Maybe you all will have better luck.

osmm

2007-12-26 20:34:46

WTF??? This is my URL after replacing
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.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) google.com/search?hl=en&q=picture


just says "Error on page"

Dusk412

2007-12-26 20:39:54

You didn't replace, you added to it. Change this:

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.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) google.com/search?hl=en&q=picture


To this:
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.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)


By getting rid of this:

google.com/search?hl=en&q=picture


Get it? :D

bullzeye95

2007-12-26 20:57:19

Wow, that's 1337 h4x :D

osmm

2007-12-26 21:44:05

woah! nice. When you said replace www. thats wht I did, not the actual website :p. Nice effect where did you find out, and are there others?

R0b0t1

2007-12-26 22:14:03

Whats its sposed to do? It doesn't work for me.

bullzeye95

2007-12-26 22:47:34

From: R0b0t1
Whats its sposed to do? It doesn't work for me.


Only worked for me on a google image search.

R0b0t1

2007-12-26 23:23:12

Oh. Okay. I get it…

You can do this with any page, you just need to count the images/objects on the page, as they are assigned an index.

Bobarkinator

2007-12-26 23:41:52

Very nice! That is sweet, something new to show all my friends :)

Dusk412

2007-12-27 00:27:53

Thanks, I didn't make it. I just found it on Sythe. Yeah I thought it was cool so decided to share it. I don't know but there are probably others

Putnam

2007-12-27 01:51:16

haha do it on this page its cool

codx1

2007-12-27 02:13:47

wow thats a nice effect, the pic starts to move

teh_lulz

2007-12-27 04:20:14

Heh, that was pretty cool :D

n3ss3s

2007-12-27 04:25:07

Thats funny, set the interval like double slower or something and it should look like a snake :p

I remember seeing this in sythe in my leecher ages, but I didn't know anything about using javascript at the URL or .js etc, but cool it is :)


EDIT: OMG!!! LOADS DONE = 1337!!! w000000000t…

lol -.-

Rikje

2007-12-27 04:33:17

Damn cool! didn't expect that :)

@n3ss3s gratz! ;)

LordGregGreg

2007-12-27 04:34:05

hey, i normaly dont post on stupid off topic non scar related stuff like this


but that was freaking awesome :D

I Rambozo I

2007-12-27 06:36:31

I don't get it, but probably I'm just stupid :o

R0b0t1

2007-12-28 00:21:18

It uses JavaScript to manipulate the "Google" logo image. It uses the sine and cosine to do some shweet trix dude!

gorgouk

2007-12-28 14:26:50

Very cool, will keep me amused for hours! :D

Runescapian321

2007-12-28 14:34:12

Lol, cool.

Even cooler, go onto a site with alot of pics on it (ex - www.si.com) then do it - cooler ;)

Dusk412

2007-12-28 17:59:23

Glad you all like it lol :D.

[S]paz

2007-12-28 18:17:14

does nothing, like nothing

~Spaz

R0b0t1

2007-12-28 18:23:15

Ooooh. Shweet.

Dusk412

2007-12-29 01:08:11

From: spaztaz666
does nothing, like nothing

~Spaz


Then obviously you did it wrong. Don't come on here like you know everything. Either ask a question or say something worthwhile not flaming this thread like you know what you are talking about. Gtfo.

Jason2gs

2007-12-29 01:35:10

Dusk, he wasn't flaming. He was being a tad arrogant, but he wasn't flaming, and what he said didn't warrant a "Gtfo."

And R0b0t, what's really awesome is if you go to an image search engine and use it on something like that.

Dusk412

2007-12-29 13:53:26

From: Jason2gs
Dusk, he wasn't flaming. He was being a tad arrogant, but he wasn't flaming, and what he said didn't warrant a "Gtfo."

And R0b0t, what's really awesome is if you go to an image search engine and use it on something like that.


Your opinion. I read his comment and it sounded arrogant and very demeaning. Anyone who talks like that warrants a "gtfo" in my book.

dr.quantumphysics

2007-12-29 14:50:36

do it while whaching a video on youtube
it surounds the video

crap it took my stars ;p

Dusk412

2007-12-29 16:32:09

Aw nice idea ill add that to the first post lool :D.

mastaraymond

2007-12-29 16:52:55

Wow, really cool! Nice find ^^

Phlame1

2007-12-30 13:15:36

It isn't working for me, what does it do?

Dusk412

2007-12-30 17:28:47

From: Phlame1
It isn't working for me, what does it do?


To get it to work, go to a page with pictures. Delete everything in the URL of that page. Then copy and paste the stuff on my first post into the URL. Then hit enter.

What it does is a kool effect ull hafta do to see :D.

MasterKill

2007-12-30 18:07:21

nice job,

freaking fun to see all those img's go *crazy* :D