Thank you! It wasn't a new idea of mine – the MathWorld ones do the same, though the response isn't as smooth and they stop moving as soon as the mouse pointer goes outside their containing box – but I was pleased with how it came out when I tried it.