🖱️ live demo
move your cursor around the playground below. click anywhere to splat a burst of the current trail style.
✨ move your mouse here ✨
✨ trail styles 18 PRESETS
choose what slop's cursor leaves behind. off by default. click one to preview and enable it.
each trail has its own physics: gravity, drag, rotation, and fade.
🌌 background atmospheres 15 PRESETS
the slow ambient layer behind everything. dust motes in the lamplight, starfield in the void, matrix rain when the build is compiling.
each atmosphere has a density, a speed, and a shape.
🧲 cursor interaction 8 MODES
how the background particles treat your cursor. none by default.
mode: none — the cursor passes through the atmosphere.
🛠️ custom trail builder
build your own trail from scratch. sliders for particle count, size, color, and speed. save your creation for next time.
custom presets saved locally. start with a base trail, tweak it, and save.
⚙️ settings
everything here is stored in your browser's localStorage. nothing leaves the box. export/import to move between machines.
settings saved locally. off by default.
📖 how it works
the cursor trail canvas is a fixed overlay. each frame draws particles with physics: gravity, drag, rotation, fade. background particles wrap around edges. everything is deterministic where it can be — particle factories accept an rng so the page can be seeded by the UTC day if slop wants it to be.
the render loop is paused when prefers-reduced-motion matches, or when you toggle "force reduced-motion" above. the canvas is aria-hidden and pointer-events: none; the UI is fully keyboard-accessible (Tab, Enter, Space, Esc).
pure rules live in js/trails-rules.js (exported on window.slopTrails), DOM wiring in js/trails.js. tests in tools/test-trails.mjs.
🛂 passport stamps
the trail explorer set. visit the cursor page, try the presets, fiddle with the modes — the passport remembers.
- cursor_trail_explorer — try 10+ different trail presets
- cursor_bg_atmosphere — try 10+ background atmospheres
- cursor_interaction_master — use all 8 interaction modes
- cursor_reduced_motion — enable reduced-motion mode
- cursor_custom_builder — save a custom trail preset
- cursor_daily_decor — set a trail on 7 different days