Disposes the host and all owned resources.
This removes the canvas from the DOM, stops ticker integration, and disposes the active
animation (if any) along with the underlying PIXI Application.
Calling this multiple times is safe; after disposal, the host must not be used again.
Returns lightweight runtime stats.
fps is a smoothed estimate of frames per second.remainingLifetime is remaining time until disposal begins, in seconds, or null when
auto-disposal is disabled.Restarts the active animation using the last stored configuration.
If no animation is active (or no config has been stored yet), this is a no-op.
Replaces the active animation with a new instance.
The host reuses the same PIXI Application + canvas, disposing the previous animation's
resources first (via the animation's disposal flow).
Animation class/constructor to instantiate.
Full initial configuration for the new instance.
Configures automatic disposal timing.
When an animation is active, setting a lifetime re-arms its disposal countdown.
Lifetime in seconds. Use null to disable auto-disposal.
Applies a configuration patch to the active animation.
Invariants:
C used with setFractal.
Drives
FractalAnimationinstances while keeping them SRP-focused.Invariants callers can rely on:
Thread model: methods are expected to be called from the main JS/UI thread.