I don't know who wrote this piece of code but it's really neat. It was sent to me via email.
It is written in Javascript, uses the move mouse event and it does a bunch of trig functions.
Wiggle the mouse,
change directions,
alter the speed - it's fun.