Share your repls and programming experiences

← Back to all posts
Bouncing Ball
bgrubert (124)

Just a code I thought I'd share because it's cool!

Tell me if you have any suggestions such as making the bouncing algorithm more realistic!

ashrit_lv (20)

it went out of the bucket thing

mwilki7 (1134)

I never thought of using an actual html element to do the bouncing. That's pretty cool.

bgrubert (124)

@mwilki7 Thanks! I decided to use an HTML element because I'm not experienced with Canvas or Svg.