This is a graphics code written in C++ language and uses OpenGL framework. You can drag a mouse along any path and then can see the movement of the ball on that path to and fro.