Using an Arduino with Python LESSON 14: Model a Moving Marble in a Room Using Parameters

YouTube video player
In this lesson we show how to model a moving marble in vPython. We show how to create an animation where the marble bounces off the left and righty walls of our virtual room. For your convenience, we include the code below: