GFXVoid Graphic Design Forum

Remove Text Formatting
Loading...

» Online Users: 5,946

0 members and 5,946 guests
No Members online

» Site Navigation

 > FAQ

» Stats

Members: 35,442
Threads: 103,075
Posts: 826,688
Top Poster: cc.RadillacVIII (7,429)
Welcome to our newest member, Lekelindids
Results 1 to 6 of 6

Thread: Cool trick

  1. #1
    Join Date
    Nov 2005
    Location
    Somewhere much better than where you are.
    Posts
    1,532

    Default Cool trick

    EDIT :O wtf!?! I meant to put this in Random Musings xD Wtf silly me :P


    Okay this is a trick that works for some websites, for instance bbc.co.uk as an example

    Type the follwing into the address bar:

    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[ 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);
    The images fly about the page ^^ pretty nifty.

    You can also make the images fly about in a double helix shape by typing this in the address bar and hitting enter:

    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[ i ].style; DIS.position='absolute'; DIS.left=Math.cos(R*x1+i*x2+x3)*x4+x5; DIS.top=Math.tan(R*y1+i*y2+y3)*y4+y5}R++}setInterval('A()',5); void(0);
    Last edited by SgtSwabs; 10-09-2006 at 11:28 AM.

  2. #2
    Join Date
    Jan 2005
    Location
    Wiltshire.England
    Posts
    6,351

    Default

    Haha that's ace!


  3. #3
    Join Date
    Feb 2005
    Location
    Fort Wayne, Indiana
    Posts
    7,057

    Default

    Thats frickin' sweet! =)

    Hahaha xD

  4. #4
    Join Date
    Jul 2005
    Location
    Calgary, Canada
    Posts
    2,566

    Default

    Don't you just love math? It's awesome
    Last edited by carrotderek; 10-12-2006 at 11:16 PM.
    It's MORPHIN' time!
    github
    deviantART
    Last.FM
    carrotderek

  5. #5
    Join Date
    Feb 2006
    Posts
    2,688

    Default

    That is F-in Awesome!

  6. #6
    Join Date
    Jun 2006
    Posts
    131

    Default

    sweet....
    Last edited by forever.lost; 11-04-2006 at 09:04 AM.
    my battle winning animation

Similar Threads

  1. Cool sig :)
    By Virulent in forum Sigs & Manips
    Replies: 7
    Last Post: 03-21-2006, 11:15 AM
  2. NOT COOL!!!!
    By ilovecoheed in forum The Void
    Replies: 4
    Last Post: 12-20-2005, 12:18 AM
  3. Not really a sig but cool
    By Killer in forum Sigs & Manips
    Replies: 4
    Last Post: 04-25-2005, 12:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBadvanced CMPS v4.1.1