sobrique: (Default)
[personal profile] sobrique
Try entering this into your url bar


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


It's javascript, so don't worry, it can't do anything horrible.

Date: 2006-12-01 02:11 pm (UTC)
From: [identity profile] mister-jack.livejournal.com
Heh. Cool.

Would you mind putting it behind a cut so it doesn't bollox up the width on all our friends pages?

Date: 2006-12-01 02:13 pm (UTC)
From: [identity profile] sobrique.livejournal.com
Already fixed the PRE tags.

Date: 2006-12-01 02:19 pm (UTC)

Date: 2006-12-01 02:14 pm (UTC)
From: [identity profile] warmage.livejournal.com
Should this be part of the ACID test? :)

Date: 2006-12-01 02:57 pm (UTC)
From: [identity profile] nicolyrezk.livejournal.com
Oh that's just silly.

Date: 2006-12-01 03:06 pm (UTC)
From: [identity profile] hedya.livejournal.com
my eyes HURT!

Is that the famous "friday - last day at this job ever" mood? :)

Date: 2006-12-01 03:34 pm (UTC)
From: [identity profile] siryel.livejournal.com
Pertty... ;-)

Date: 2006-12-01 08:35 pm (UTC)
From: [identity profile] ihilate.livejournal.com
Nothing seems to happen.

Oh well, maybe I'll try it when I'm sober...

Date: 2006-12-01 10:19 pm (UTC)
From: [identity profile] sobrique.livejournal.com
It needs to be done on a page that has images.

Date: 2006-12-01 10:41 pm (UTC)
From: [identity profile] phyrbyrd.livejournal.com
It made my width bar go up and down lots of times. Is it meant to do that?

Date: 2006-12-02 04:30 pm (UTC)
From: [identity profile] dmh.livejournal.com
That's quite natty. :o)

Date: 2006-12-03 11:59 am (UTC)
From: [identity profile] jambon-gris.livejournal.com
The first thing that crossed my mind was why no use exponentials rather than cos and sin, but of course java script doesnt do imaginary numbers with out a lot of prodding and poking.

Profile

sobrique: (Default)
sobrique

December 2015

S M T W T F S
  12345
6789101112
13141516171819
20212223242526
2728 293031  

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Feb. 18th, 2026 03:44 am
Powered by Dreamwidth Studios