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).

 

Faster Launch of WEBcam and Smoother Video in OpenCV on Windows


This is the code we developed in Video Lesson #6 showing how to launch a webcam quicker and with less delay in OpenCV running on windows. The video above explains the code step by step, but for your convenience, I include the code below.

 

Controlling a WEBcam in OpenCV on Windows

In this lesson we show how to move a frame in OpenCV, how to convert a color image to grayscale, and then how to display multiple video windows. For your convenience, I include the code below that we develop in this video.

 

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:

 

Making The World a Better Place One High Tech Project at a Time. Enjoy!