How do I use input values to animate my canvas (P5.js)

I'm trying to follow this tutorial here:

to create an animation where a ball is bounced up and down. With the variable Height as a number, the animation works, but when I try to add an input to it, it doesn't


Sign In or Register to comment.