Share your repls and programming experiences

← Back to all posts
Bouncing Ball
bgrubert (189)

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 (1133)

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

bgrubert (189)

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