Category Archives: 3D Graphics with Visual Python

Python 3D Graphics Tutorial 21: Understanding and Using Widgets in Vpython

In this video Lesson, we show how to interact with a Python model using widgets. We show how Vpython allows use of dropdown menus, radio buttons, check boxes and slider bars. These combine to give the user great control over an animated model. In past lessons we changed parameters by editing the program. By incorporating widgets we can allow non-programmers to effectively interact with a model.


Python 3D Graphics Tutorial 17: Creating an Accurate 3D Clock in Visual Python

This is the code we developed in Lesson 17 in order to create a 3D visual of an accurate analog clock. This code will serve as the starting point for lesson #18.


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: