Please enable JavaScript to use CodeHS



JavaScript with Physics: Bouncing Ball Simulation

Have you ever wondered when and where you will use some of those concepts you learned in physics? In this lesson, you'll apply your skills in creating a bouncing ball simulation, complete with gravity and collisions! Students should have some familiarity with physics concepts such as acceleration and velocity. Developed by Brian Pitlin, computer science teacher at United High School

Syllabus

Units: 1
Contact Hours: 2

By the Numbers


Contact Hours 2
Lessons 4
Videos 4
Exercises 4
Challenges 1

Units

Unit Description
Bouncing Ball Simulation: Have you ever wondered when and where you will use some of those concepts you learned in physics? In this lesson, you'll apply your skills in creating a bouncing ball simulation, complete with gravity and collisions! Students should have some familiarity with physics concepts such as acceleration and velocity.

Demos

Click on a demo to test it out.

Ball In Motion

Keeping it Real (Elastic)

Format of Course

The entirely web-based curriculum is made up of a series of learning items that introduce students to some fundamentals of programming. Each lesson is made up of short video tutorials, example programs, and programming exercises. The course is designed as an integrated, 2-3 hour long mini-unit, though schools implement it in a variety of ways.

Who is it for?

The JavaScript with Physics: Bouncing Ball Simulation mini-unit is designed for complete beginners with no previous background in computer science, though they should have some knowledge of algebra and basic understanding of the physics of moving bodies. The course is highly visual, dynamic, and interactive and should be used with high school math students.

Interested?

Interested in teaching the JavaScript with Physics: Bouncing Ball Simulation mini-unit with CodeHS? Get in touch, so we can help you bring CodeHS to your school!

Bring to My School