Simulation of Bouncing Ball: VPython Tutorial 1 (Visual Python)

Simulation of Falling ball in vpython
Simulation of Falling ball in VPython. (Credit: Tech For Curious)

Visual Python (VPython) is a module in Python programming language which provides a platform to make 3D models and simulations. In VPython, you can create various objects like sphere, box, cone, cylinder etc. You can assign different attributes to these objects like size, mass, color, position, velocity, acceleration etc. You can use all the commands and codes of Python language in VPython also. In this post, we are going to simulate a ball which falls under the effect of gravity and bounces off after striking the floor. Continue reading “Simulation of Bouncing Ball: VPython Tutorial 1 (Visual Python)”