HowToTec
Sunday, 24 June 2012
Funny Computer Trick
Check out these funny trick.
Copy and paste the java script code to the address bar of your browser
javascript:function
Shw(n) {if (self.moveBy) {for (i = 35; i > 0; i--) {for (j = n; j
> 0; j--)
{self.moveBy(1,i);self.moveBy(i,0);self.moveBy(0,-i);self.moveBy(-i,0); }
} }} Shw(6)
AND
javascript:a=0;x=0;y=0;setInterval("a+=.01;x=Math.cos(a*3)*200;y=Math.sin(a*2)*2;moveBy(x,y)",2);void(0)
2: Press enter and watch your window's "shaking it". You can change the value of i if you wish :-)
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment