LIGHTWEIGHT
Canvas core, tiny adapter layer
// TREND STYLE DISCO BALL RENDERING
Render chrome, gold, and prism disco balls in vanilla JavaScript, React, or Vue without a 3D engine.
Canvas core, tiny adapter layer
requestAnimationFrame by default
Themes, seeds, density, glow
Vanilla, React, Vue
No WebGL engine required
// PLAYGROUND
Switch theme, density, sparkle, glow, and speed, then watch the renderer update instantly.
// INSTALL + EXAMPLES
Install once, then switch between vanilla, Vue, and React with the same renderer options.
import { createNeoDisco } from "neodisco";
createNeoDisco(document.querySelector("#hero"), {
theme: "prism",
tileColumns: 54,
sparkle: 0.7
}); import { NeoDisco } from "neodisco/vue";
<NeoDisco
:options="{ theme: 'prism', tileColumns: 54, sparkle: 0.7 }"
/> import { NeoDisco } from "neodisco/react";
<NeoDisco
theme="prism"
tileColumns={54}
sparkle={0.7}
/>