fluid_simulation library

A widget that renders an interactive fluid simulation.

Classes

FluidSimulationWidget
A widget that renders a fluid simulation.

Enums

RenderMode
The render mode of the fluid particles.

Constants

kDefaultGradientRadius → const double
The default radius of the density gradient used for rendering blobs.
kDefaultGravityMagnitude → const double
The default magnitude of the gravity force applied to the particles.
kDefaultInteractionRadius → const double
The default radius around a particle in which it interacts with neighboring particles.
kDefaultParticleCount → const int
The default number of particles in the simulation.
kDefaultRenderMode → const RenderMode
The default render mode of the particles.
kDefaultRestDensity → const double
The default rest density of the fluid.
kDefaultStiffness → const double
The default stiffness constant for the standard density constraint.
kDefaultStiffnessNear → const double
The default stiffness constant for the near-density constraint.