Yes - they put some extra images on the page. At a regular interval, the images are then moved to be near the current mouse cursor position.
In this case, the script finds all images on the page, then uses some yucky trigonometry to make the circle whatever position it is
. I can't really be bothered to work out the maths