“Penalty Kick” is an animation created with the help of OpenGL and GLUT coded in C++. The animation is of a penalty kick in the game of football. The major objects in this animation are: Play field, Ball and Goal Post. This animation depicts the interaction between these components. The demonstration of the motion of the ball can be observed in the animation along with camera effect that makes the viewer control the camera as they please to see the animation. Application of mathematical equations in making the surrounding and finding ball’s appropriate motion are the major highlight of this project.
The Ball's motion can be started by the 'HOME' key and can be reset by pressing the 'END' key.