I’m developing a new particle engine and have just finished integrating a texture atlas that supports an array of images, animated sprites, and texture parameters like offset
, repeat
, and center
. This is my testing sandbox for the animated sprites, and it’s looking pretty cool, so I’m sharing it here.
The demo doesn’t include index sorting for proper alpha blending, but that’s already implemented in the final library (update: the sorting is included now). Heavily inspired by the three-nebula
particle engine, this version is tailored specifically for THREE.Points
and THREE.InstancedMeshes
, relying exclusively on BufferAttributes
, taking performances to another level. The main thread version is fully operational, featuring a main Emitter with various shapes, effects, and a new Span
library for interpolating THREE’s math objects (Numbers, Vectors, Matrices, etc.). I’m currently working on the documentation and extending the engine to a web worker version with SharedArrayBuffer
support.