Code-drawn pixel art effects on a canvas that sits over any element: a collect burst for claiming a reward, two party poppers of paper confetti, and a block dissolve that covers a screen or unveils what is underneath. Ported from the MIT pixelfx engine (two buffers, opaque pixels with ordered dither plus additive light, seeded so each play is repeatable). Effects take a palette and default to the story series' gold and SunUI's neutral grays. The canvas ignores the pointer and runs only while playing; with reduced motion nothing animates and onDone fires at once.
pnpm dlx shadcn@latest add "https://sunui.synvize.com/r/pixel-fx.json"