Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Bouncy Balls Simulation in 3D - Episode 6

Let's Code Physics via YouTube

Overview

Explore the final episode of a subscriber tribute series focusing on simulating bouncy balls in a 3D environment using VPython. Learn how to create walls, adjust opacity, randomize ball movements, and implement collisions in three dimensions. Discover the relationships between pressure, volume, and temperature as you manipulate box dimensions and maximum momentum. Follow along with code examples, run simulations, and analyze the results of pressure versus volume experiments. Gain insights into the Ideal Gas Law and its applications in physics simulations.

Syllabus

Introduction
Adding the Walls
Opacity
Randomize
Final Product
In 3D
Collisions
Random
Hong Kong
Hong Kong trajectory
Changing the box length
Changing the maximum momentum
Changing box length
Changing pressure
Temperature vs pressure
Making it 3D
The computer is wonderful
Running the code
Pressure vs volume
Summary

Taught by

Let's Code Physics

Reviews

Start your review of Bouncy Balls Simulation in 3D - Episode 6

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.