v1.0.4 — Performance
Performance-focused release — reduces allocation pressure and skips unnecessary draws. No API changes.
Changes
- Cache per-particle animation configs to cut allocation pressure
- Skip draw when particle is fully transparent or scaled to zero
- Drop unused
idfield fromCanvasParticle(internal) - New
BenchmarkandSingleEmitterBenchmarksample screens - New
MagicWandsample — drag emitter with world-space star trails - PERFORMANCE.md with measured particle budgets per target FPS
- Sample menu converted to LazyColumn
- README media optimized (~88% smaller gifs)
Install
implementation("io.github.piotrprus:particle-emitter:1.0.4")