Tag Archives: vPython

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


9-Axis IMU LESSON 21: Visualizing 3D Rotations in Vpython using Quaternions

In this lesson we show how to use quaternions from the BNO055 to create a visualization in Vpython. The visualization is a complete 3D free body rotation of a rigid body. To build this project you will need an Arduino Nano, and an Adafruit BNO055 Inertial Measurement Sensor.

This is the code we developed in the video posted here for your convenience. This code is for demo purposes only and should not be used in real applications. It is for educational purposes only.

This is the code we developed on the python side to do the visualization from the passed quaternions.




9-Axis IMU LESSON 20: Vpython Visualization of Roll, Pitch, and Yaw

This is the arduino code we developed in this lesson to approximate roll, pitch and yaw over small ranges.

This is the python code we developed to visualize the 3 dimensional rotation of a rigid body.