~/projects/type.md
Type
A typing test that lives on this site, with pixel-art effects that change colour as you keep a streak going.
Pick a length, start typing and the clock starts with you. Every letter gets a little pixel effect: an underline that trails the caret, letters that hop, or pixels that float up, depending on which effect you pick. Mistakes drop pink pixels and shake the word. Keep a streak going and the colours move from teal to purple to pink.
How it works
- The caret glides. It’s one element moved with a short transform transition, so it slides between letters instead of jumping.
- Pixels on a grid. Particles are drawn on a canvas at a third of the screen’s resolution and scaled up with hard edges, the same way the desk steam is drawn.
- Usual stats. wpm counts characters in correctly typed words, raw counts everything, and the results chart shows both per second along with your errors.
- Optional sound. Key clicks are made with Web Audio, so there’s nothing to download. Off by default.