ParticleUpdater class

Default particle controller implementing basic Euler integration physics

Features:

  • Handles position updates based on velocity
  • Implements boundary collision
  • Processes basic particle physics

Performance Characteristics:

  • Time Complexity: O(n) where n is number of particles
  • Space Complexity: O(1) (updates in-place)

Physics Model: position(t+Δt) = position(t) + velocity(t)*Δt velocity(t+Δt) = velocity(t) + acceleration(t)*Δt

Implemented types

Constructors

ParticleUpdater.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
updateParticles(List<Particle> particles, Size bounds) → void
Updates all particles' state based on the current simulation frame
override

Operators

operator ==(Object other) bool
The equality operator.
inherited