← back to Particle Text

README.md

26 lines

# Free-Roster — Particle Text

A single-file, dependency-free canvas toy. Type a word (or phrase) and thousands
of particles fly in to spell it; sweep your mouse through the letters to scatter
them, then watch them reform. Click anywhere for a radial burst.

Open `index.html` in any modern browser — nothing to install.

## Features
- **Particle text** sampled from rendered glyphs, ~few-thousand particles.
- **Live typing** — the word reforms as you type (debounced).
- **Multi-word wrapping** — long phrases auto-fit and wrap onto centered lines.
- **Mouse / touch scatter** with spring-back reformation.
- **Click / tap burst** — radial impulse from the point.
- **5 color themes** (Aurora / Sunset / Neon / Emerald / Ice) — cycle with **Theme**.
- **Shuffle** — random preset word.
- Additive-glow rendering with motion trails; subtle idle twinkle.
- Respects `prefers-reduced-motion` (snappier settle, no twinkle).
- Responsive; DPR-aware; rebuilds on resize.

## Built from
An improved, completed build of a Model Arena "Particle Text" challenge artifact.
Fixes over the starting point: multi-word/long-text wrapping (was: illegible
shrink), color themes, live-typing feedback, click burst, additive glow, jittered
sampling, reduced-motion support, and debounced resize.