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.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add bouncing_ball

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  bouncing_ball: ^1.0.0

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:bouncing_ball/bouncing_ball.dart';
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