Using GLUT, moving my mouse in the display window causes the animation to increase in speed. When running at an initial 60fps, moving the mouse causes the animation to accelerate and increase to 1000fps. My data might be wrong, but there is definitely a timing issue. I've tried implementing a logic timer (force each tick to use a minimum 1/60 of a second), but I'm having mixed results.
Do you have any ideas on how to effectively control this framerate (or rather, tickrate)? Here are the resources I've been using: