Floating color dots
A field of bright colored dots that float and shimmer across the whole screen.
Copies a short instruction with your private download link. Paste it into your agent: it downloads the whole skill (the source code, the setup steps and the mistakes we already made for you) and builds the screen.
Works with
What it does
Wraps any view in a field of animated glitter through SwiftUI's layerEffect Metal pipeline. A hashed grid seeds one potential sparkle per cell; each sparkle's twinkle phase is offset by a per-cell pseudo-random value and nudged by the tilt vector, so glints flicker as a card is rotated. Sparkles are mostly white with a faint rainbow tint, painted only over opaque source pixels. The single tunable knob is density — the number of grid cells per axis.
Requires iOS 18+ / macOS 15+.
What you get
- ✓218 lines of source code, ready to paste
- ✓Attribution
- ✓File Layout
- ✓Source Code
- ✓Usage
- ✓Parameters
- ✓Integration Checklist
- ✓Notes / Gotchas