swarm-cursors
v0.1.0
Published
Reconstruct a live DOM with a coordinated swarm of animated cursors.
Readme
swarm-cursors
Browser library for rebuilding a live DOM with the migrated Swarm Cursors engine.
import { createSwarm } from "swarm-cursors";
const swarm = createSwarm({
target: document.body,
cursors: { count: 24 },
audio: { enabled: false },
});
swarm.on("progress", ({ progress }) => console.log(progress));
swarm.start();The package exports ESM, CommonJS, TypeScript declarations, and optional ./react and ./next client adapters. See the project documentation for the full configuration reference, API reference, and media limitations.
UNLICENSED: source and upstream derivative rights are unresolved. Do not redistribute or publish until cleared with the relevant rights holders.
