Last edited 15dec15 by cmpblld2@illinois.edu
Find this document at http://new.math.uiuc.edu/math198/cmpblld2
Brian Campbell-Deem, Math198

_____________________________________________

< Weekly Updates -|- Project -|- About -|- Home >

kinematics.py

Kinematics Kinematics

kinematics.py is the first part of Physible and simulates a 3-D system of motion. The user inputs a y-velocity for the ball and then a scene is drawn where a ball is thrown with the input velocity (with the x, z velocities being random). A 3-D scene is drawn of the moving ball, which is updated in real time; an additional window containing three graphs is made, which also updates in real time. The graphs display the y-components of the ball's acceleration, velocity, and displacement.

When the program finishes, the user is asked if they would like to run it again, allowing them to easily compare a different initial y-velocity to see how it differs.