This week I’ve been working on the Processing simulation aspect of the project. The current design is to take the X,Y, and Z components of the angle and velocity vectors of the ball, along with the height as shown below.

Then with the given inputs produce two different views of the ball’s trajectory: Bird’s Eye View and Side View, something along these lines:

My biggest issue at the moment is Time, and that issue pops up in two ways. The first way is I’ve been having issues getting the time of flight, verifying that the calculated time is correct, and figuring out how to display that on screen. Should the motion of the ball in real life and in the simulation be 1:1 with respect to time? Time is also an issue with regards to how the ball is drawn in the simulation. Currently, I haven’t figured out a way to have the ball move along the calculated trajectory curve (which I still need to verify is accurate) continuously. I’ve currently just been working with dummy data and haven’t expanded to more generalized solutions, so I’ve got my work cut out for me. In this coming week, I hope to have all calculations/equations verified and working with generalized inputs, and to show seamless continuous motion along a curve for the ball’s trajectory.


0 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *