Creative Coding with Codecademy #2: Creating Bouncing Balls

Let’s learn how to animate our p5 sketches. In this session, we’ll learn how to make balls bounce across the screen.

Tue March 16, 2021 at 8:00 PM UTC

Event Information

In this session, we will work on the Bouncing Balls project together on the Codecademy platform. Using p5.js animation techniques, arrays and for-loops, we will create an animation of circles bouncing around the canvas. We will also look at how to randomize the position, speed, size and color of each bouncing ball using arrays.

Speakers

Headshot of Jiwon Shin

Jiwon Shin

Curriculum Developer

Headshot of Jamie Rich

Jamie Rich

Codecademy

Join Codecademy to gain access to this event.

Make sure your password is at least 8 characters and contains:

  • At least 1 uppercase letter and 1 lowercase letter
  • At least 1 number
  • At least 1 special character (like @#%^)

Avoid common passwords or strings like “password”, “qwerty”, or “12345”.

By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.

Or sign up using: