trajectory
As an initial excercise in using OpenGL, we were required to first create a simple projectile program, then add special features to it.
Having completed the first part easily, I proceeded to add variable wind and an explosion graphic to the program to make it more interesting.
The angle of the initial launch of the projectile is controlled using `a' and `z'. The power is controled with `w' and `s', and the projectile is fired either by pressing `space' or `enter'. The angle is easily visible as the red firing cannon; the velocity is depicted by the colored bar beneath the x-axis. The wind velocity is shown by the cyan triangle near the top center of the screen.
Source code is available
here.