Bush School IDMD Spring Semester 2021
Week 2 Exercise
Moving Ball
Goals
- Practice collaborating in code with others
- Practice using functions by modifying the moving ball
- Practice using variables and conditional statements
- Explore the sound library
Task
- Together with your partner modify the moving ball by opening sketch.js and copy-paste to the p5js web editor
- Change the color of the ball to a random color with each hit on the wall. Look up random function in reference
- Add a speed variable to modify the speed
- Save as moving_ball project in p5js web editor
Submission
Make sure your code is indented correctly and that most of your lines of code have a comment, then each partner should add this project to their Github portfolio.