This code is driving me up the wall. The original author built it for one case, then added some more in between doing other things, then got pulled off it before he had a chance to tidy it up. Now I've got to add yet another thing to it without breaking his bits. Even he has trouble remembering how it works...
Lots of trigonometry too, and it's all in mousemove events to make it even harder to follow
Comment