@crazygl/hero-logo-sand-formation
v0.1.1
Published
Logo Sand Formation — Thousands of glowing sand grains drift on a warm desert current and re-form the supplied logo. Pointer movement scatters them in a Gaussian shockwave; springs and damping pull each grain back into… A customizable CrazyGL animated her
Maintainers
Readme
Hero made by @ybouane.
@crazygl/hero-logo-sand-formation
Thousands of glowing sand grains drift on a warm desert current and re-form the supplied logo. Pointer movement scatters them in a Gaussian shockwave; springs and damping pull each grain back into the silhouette.
Demo
Install
npm install @crazygl/hero-logo-sand-formationUsage
import LogoSandFormation from '@crazygl/hero-logo-sand-formation';
export default function Hero() {
return (
<LogoSandFormation
heading="Built from a million grains."
logo="/my-logo.png"
sampleMode="alpha"
grainCount={2200}
/>
);
}Customise
- Logo —
logoimage,sampleMode(alpha / luminosity / inverseLuma),sampleThreshold,sampleDensity,logoScale,logoOffsetX/Y. - Sand —
backgroundColor,transparent,sandColor,accentColor(sparkle),grainCount,grainSize,glowAmount,trailFade. - Motion —
windStrength,springStrength,damping,pulseRadius,pulseForce. - Content & typography — heading / subheading / two-column / custom content, plus heading font.
Best for
- Premium brand and agency landing pages
- Product launches with a tactile, interactive logo reveal
- Luxury, fragrance, or lifestyle sites with warm, earthy palettes
- AI and creative-tool homepages wanting a signature hero moment
This hero is part of CrazyGL, a collection of production-ready WebGL, canvas, 3D, and typography effects. Every CrazyGL hero ships with an agent-ready SKILL.md file that helps developers and coding agents adapt the effect into custom landing pages and interactive experiences.
