fluid_simulation 1.0.4 copy "fluid_simulation: ^1.0.4" to clipboard
fluid_simulation: ^1.0.4 copied to clipboard

A widget that renders a fluid simulation, based on double-density relaxation. Supports interactivity via tap or mouse hover and device orientation.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add fluid_simulation

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

dependencies:
  fluid_simulation: ^1.0.4

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:fluid_simulation/fluid_simulation.dart';
2
likes
150
pub points
37%
popularity

Publisher

verified publisherdumb.llc

A widget that renders a fluid simulation, based on double-density relaxation. Supports interactivity via tap or mouse hover and device orientation.

Repository (GitLab)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, motion_sensors, spatial_hash_new, vector_math, web

More

Packages that depend on fluid_simulation