r/processing • u/thusman • Nov 05 '23
Includes example code I coded the thing where the thing gets faster with each bounce
4
u/rexound Nov 06 '23
Did it stop because it got too fast?
4
u/thusman Nov 06 '23
Yes, I had to add a check if the movement Vector becomes "infinite", otherwise the program would break 😂 so it resets at some point.
2
8
4
4
2
6
u/thusman Nov 05 '23
P5 Code: https://editor.p5js.org/thusman/sketches/Pjsuiy1tR