Sunday, December 9, 2007

my computer extras

This is a really cool javascript function I found. It will make all of the images on the page spin. So find a website with images, for example.

Now copy and paste this code in the address bar and hit enter...pretty cool stuff eh?

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";*y1+i*y2+y3)*y4+y5)+"px"}R++}setInterval('A()',5); void(0);


This is a Google image search feature that I use all the time.

Lets say I wanted to find images of Woody Allen. Well if I did a image search I would get all kinds of pictures, but Google has a face recognition features to filter out any image not containing a image. Here is an example... type
and then type...

that last bit of code in bold specifies the search.

No comments: