How can you determine when a moving sphere intersects a line segment, and the normal of that intersection?
Ideally Javascript, but anything that's tidy, simple and self-contained and easy to port to Javascript.
Here's a very nice video of the problem I'm trying to solve: http://www.youtube.com/watch?v=V7ebhHcF_ys