v1.0.1
What's new
- Smooth config updates — Changing emitter parameters (e.g. birth rate) no longer restarts the animation. Config is read reactively each frame via
rememberUpdatedState. - Frame-delta particle spawning — Replaced interval-based emission with frame-delta accumulation for accurate, smooth birth rates.
- Reactive remember keys —
rememberandLaunchedEffectinParticlesEmitterandMultiEmitternow properly react to config changes. - Sample app overhaul — Navigation between demos, interactive birth rate slider for the canvas emitter.
Installation
dependencies {
implementation "io.github.piotrprus:particle-emitter:1.0.1"
}Available on Maven Central.