Friday, April 29, 2011

Procrastination Pt:2 Update! Now with 100% More video Instruction!

Yeah well the plan was to show some pics from an Epic adventure, but I had no such time for that. So to fill the void I figured I'll post off another scrip code and tell you guys about snake on youtube as Lucky13 stated on the last post. To play the game snake its simple really, to start it while a video is loading or playing hold the Left and Down arrow keys. Once the game has started you play with the arrow keys and continue as the game is normally played. The java this time isn't a game though (sorry folks) but is still pretty amusing "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);" again paste this without the quote and hit enter, this time around it will make all images on a page float around. It's usually reffered to as "make google go crazy javascript" so you might have seen it before. Well anyways that wraps up this half post! Until Next Time Stay Nerdy!
p.s. highlights are for everyone who probably just skims posts for the fun stuff.
 
This video explains the youtube snake easter egg and also no this is not me and nor do I claim the identity of this person.

15 comments:

  1. haha, funny. Didnt now about that trick. Cant wait to show my friends this stuff. I will come off like a alpha programmer. Yeah!

    ReplyDelete
  2. Glad you like it I'll try to introduce a new script in each procrastination post!

    ReplyDelete
  3. I have a few uses for this... hehe... Thanks.

    ReplyDelete
  4. This is super nerdy and I like it.

    ReplyDelete
  5. A bit confusing, but I got the point, thanks :).

    ReplyDelete
  6. In the short term, you cant go wrong with procrastination!

    ReplyDelete
  7. how Can I help explain to thoose of you who don't understand?

    ReplyDelete
  8. i used to play snake all the time on my nokia

    ReplyDelete
  9. Yet another tool for my procrastination, thanks to the BLAZINBUTCHER

    ReplyDelete
  10. That actually kind of cool. Don't see much use in it, but cool. lol

    ReplyDelete