bouncing_ball 1.0.0 copy "bouncing_ball: ^1.0.0" to clipboard
bouncing_ball: ^1.0.0 copied to clipboard

A simple physics engine for ball movement with gravity, friction, and elasticity.

0.0.1 – Initial Release #

  • Added BouncingBall widget to simulate a ball with physics.
  • Supports gravity, friction, and elasticity for natural motion.
  • Circle or square ball shapes are supported.
  • Ball can be pushed interactively via drag gestures.
  • Added support for blockers (rectangular obstacles) that the ball can collide with.
  • Configurable ball size, gravity, friction, and timestep (dt).

1.0.0 - 2025-10-22 #

  • Added circle vs circle collision
  • Added rectangle vs circle collision
  • Refactored _checkBlockers logic
3
likes
160
points
38
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A simple physics engine for ball movement with gravity, friction, and elasticity.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, vector_math

More

Packages that depend on bouncing_ball