Stardust Magneto: Particle Proximity Shader
Create moments of magical discovery with Stardust Magneto. Instead of revealing an entire image at once, this shader uses proximity detection to generate a localized constellation of shimmering particles that follow the user's cursor. It acts like an interactive flashlight, revealing the hidden media underneath through a magnetic, glowing dust storm.
✨ Key Highlights
Proximity Masking: The particle effect is completely invisible until the user hovers near it, creating a "scratch-off" or flashlight-style reveal.
Magnetic Pull: Particles don't just sit there—they mathematically gravitate toward the center of the cursor with a localized physics simulation.
Shimmer Logic: Individual particles pulse and fade dynamically using Simplex noise, creating a living, breathing texture.
⚙️ Complete Design Control
Detection Optics: Control the "Show Radius" to determine exactly how close the mouse needs to be to trigger the reveal, and adjust the "Fade Edge" for a seamless blend.
Particle Physics: Tweak the "Density" to choose between a sparse starry night or a thick sandstorm, and adjust the "Magnetism" pull strength.
💡 Perfect For: Luxury brand storytelling, hidden easter eggs on landing pages, and premium dark-mode interfaces.
Share It On :