Overview
NeoDisco is a Canvas 2D renderer for chrome, gold, and prism mirror-ball visuals.
Project links:
- Website: neo-disco.vikingz.me
- Repository: github.com/vikingmute/neo-disco
- LLM reference: /llm.txt
The package is intentionally split into one rendering core and thin framework adapters:
- Vanilla JavaScript uses
createNeoDisco(). - React uses the
NeoDiscocomponent fromneodisco/react. - Vue uses the
NeoDiscocomponent fromneodisco/vue.
Why Canvas 2D?
Section titled “Why Canvas 2D?”The visual is art-directed rather than physically simulated. Canvas 2D gives us mirrored tiles, glow, flares, deterministic seeds, and responsive sizing without a WebGL or Three.js dependency.
Quick Start
Section titled “Quick Start”import { createNeoDisco } from "neodisco";
createNeoDisco(document.querySelector("#hero")!, { theme: "prism", sparkle: 0.7});Design Goals
Section titled “Design Goals”- Small runtime.
- Stable visual output through
seed. - Same look across vanilla, React, and Vue.
- Tunable enough for product sites, launch pages, and generative social graphics.