Category Archives: 3D Graphics with Visual Python

Python 3D Graphics Tutorial 5: Bouncing Ball Simulation in Visual Python

The program below is the code we developed in Lesson 5. It is a Vpython program that creates a 3D model of a marble bouncing in a box.

 

Python 3D Graphics LESSON 4: Understanding 3D Motion in Visual Python Model

In this lesson we show how to make an animated ball properly bounce off a wall using Visual Python (Vpython).

 

Python 3D Graphics LESSON 3: Parameterizing your 3D Model

In this lesson we show you the importance of building a parameterized model for your 3D graphics in Python using Visual Python. You can manage large scenes unless you are doing it with parameterized dimensions. The video above takes you through it step by step. Here is the code for the parameterized box and marble we developed in Lesson 3: