hanabi-web
A tiny fireworks rendering demo for the browser. Built to exercise the
TypeScript 46.4%Markdown 26.4%CSS 15.6%XML 7.5%JSON 4.2%
Clone
git clone https://nekolas.dev/code/hanabi-web.git
README
🎆 hanabi-web
A tiny fireworks rendering demo for the browser. Built to exercise the nekolas code viewer with a realistic multi-language repo.
Features
- Canvas-based particle system
- Zero runtime dependencies
- Dark-mode aware
- Configurable gravity (
src/physics.ts)
Quick start
npm install
npm run dev
Architecture
| Layer | File | Responsibility |
|---|---|---|
| Entry | src/index.ts |
bootstrap + RAF loop |
| UI | src/ui/button.tsx |
launch control |
| Physics | src/physics.ts |
gravity model |
| Style | src/styles/main.css |
theme tokens |
Note: this is a dummy repository for testing purposes.