Bouncing Ball Project
- cwebb339
- Sep 15, 2020
- 1 min read
When it came to the bouncing ball project, I thought it would be more difficult at first but then once you realize it's pretty much the same steps as what we went over in class, you pretty much just have to copy and paste a majority of the code but switch it so that it's being applied to the Y-axis instead of the X-axis. Shortcuts like that will probably make this class a lot easier. The only mistake I really made at first was making the X and Y speed the same, which just caused for my ball to keep bouncing between the same two corners over and over again instead of randomly, but that was a simple fix. My Code: https://editor.p5js.org/cwebb3/sketches/XB3oNjOs5
Comments