I have a problem to code the path of a projectile from a gun as it moves forward and upward. This needs to be done in p5.js..
Although the Angry birdsBirds method has been tried by me, I am looking for a more physics derived function involving Sinthe sine and Coscosine of angle of the gun.