Status
Optional ember swarm renderer for Sprite: a breathing ring that performs Agent-written scenes
Stability
Section titled “Stability”Sprite Swarm declares source version 0.0.0. Until 1.0, a minor release can change the public API, so pin the version you test against.
Package qualification does not publish a release. Check the npm registry before choosing a released version.
Limits and errors
Section titled “Limits and errors”The renderer needs a browser window and WebGL. A host that cannot give it a context sees the selection fail; Stage checks for WebGL first and shows the scene as text instead. The canvas fits the Sprite target at no more than 1.5 device pixels per CSS pixel, and fewer when the host’s pixel limit asks for it. The swarm holds 9,000 embers in a host under 700 CSS pixels wide and 14,000 otherwise. It never runs Agent-written code: scenes are decoded data. A performance that is not a valid scene and cue fails the selection.
Contribute and license
Section titled “Contribute and license”Sprite Swarm is MIT licensed. See LICENSE and
THIRD_PARTY_NOTICES. The swarm is ported from
Hark, also MIT.