/qadri-3d:grainient [--mode hero|bento|ticker|page|catalog] [description or effect name]from qadri-3d
Recreate grainient.supply's 16 dark-mode visual effects as single-file HTML pages: WebGL shader gradients, vignette overlays, 9-layer box shadows, smooth scroll, spring animations, hover-zoom, ticker marquees, glassmorphism, 3D card flips, bento grids, gradient CTAs. Dark-mode-first with lime green (#C2F13C) accent. Triggers on grainient effects, dark-mode landing page, cinematic depth, glow effects, SaaS showcase, visual effects page.
Ships in qadri-3d. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Recreate the visual vocabulary of grainient.supply — 16 composable dark-mode effects spanning WebGL shaders, CSS surfaces, JS-driven motion, and layout patterns. No Framer dependency. Single-file HTML output.
# Generate a hero section with aurora shader
python3 scripts/grainient_generator.py --mode hero --output hero.html
# Generate a full landing page
python3 scripts/grainient_generator.py --mode page --output landing.html
# Custom accent color
python3 scripts/grainient_generator.py --mode bento --accent "#FF6B35" --output showcase.html
# Interactive effects catalog
python3 scripts/grainient_generator.py --mode catalog --output catalog.html
Or let Claude generate directly from the templates and references.
| # | Effect | Tier | Tech | Reference |
|---|---|---|---|---|
| 1 | WebGL Shader Gradient | Hero | WebGL2+GLSL | references/shader-gradient.md |
| 2 | Vignette Overlay | Hero | CSS | references/vignette-system.md |
| 3 | 9-Layer Box Shadows | Hero | CSS | references/shadow-system.md |
| 4 | Smooth Scroll | Motion | JS | references/smooth-scroll.md |
| 5 | Spring Animations | Motion | CSS/JS | references/spring-animations.md |
| 6 | Hover Image Zoom | Motion | CSS | references/hover-zoom.md |
| 7 | Vertical Ticker Marquee | Motion | JS | references/ticker-marquee.md |
| 8 | Glassmorphism | Surface | CSS | references/surface-effects.md |
| 9 | 3D Perspective Card Flip | Surface | CSS | references/surface-effects.md |
| 10 | Bento Grid | Surface | CSS | references/surface-effects.md |
| 11 | Gradient CTAs | Surface | CSS | references/surface-effects.md |
| 12 | SVG Gradient Icons | Detail | SVG | references/detail-effects.md |
| 13 | Inset Border System | Detail | CSS | references/detail-effects.md |
| 14 | Grid Pattern Overlay | Detail | CSS | references/detail-effects.md |
| 15 | Custom Scrollbar | Detail | CSS | references/detail-effects.md |
| 16 | Responsive Clamp Typography | Detail | CSS | references/detail-effects.md |
| Mode | Template | Effects Composed |
|---|---|---|
hero | assets/templates/hero-section.html | Shader gradient + vignette + glassmorphism nav + clamp typography + springs |
bento | assets/templates/bento-showcase.html | Bento grid + 9-layer shadows + hover zoom + glassmorphism + gradient CTAs |
ticker | assets/templates/ticker-landing.html | Ticker marquee + smooth scroll + gradient CTAs + vignette + SVG icons |
page | assets/templates/dark-page.html | All 16 effects in a full landing page |
catalog | assets/templates/effects-catalog.html | Each effect demonstrated individually with controls |
All effects read from --grn-* CSS custom properties. Override at :root to re-theme:
:root {
/* Background scale (dark-on-dark elevation) */
--grn-bg: #000000;
--grn-surface: #141414;
--grn-elevated: #1A1A1A;
--grn-card: #2B2B2B;
/* Accent */
--grn-accent: #C2F13C;
--grn-accent-40: rgba(194, 241, 60, 0.4);
--grn-accent-20: rgba(194, 241, 60, 0.2);
/* Text */
--grn-text: #FFFFFF;
--grn-text-70: rgba(255, 255, 255, 0.7);
--grn-text-40: rgba(255, 255, 255, 0.4);
--grn-text-20: rgba(255, 255, 255, 0.2);
--grn-text-10: rgba(255, 255, 255, 0.1);
/* Borders */
--grn-border: rgba(255, 255, 255, 0.2);
--grn-border-subtle: rgba(255, 255, 255, 0.1);
/* Motion */
--grn-spring-snappy: cubic-bezier(0.34, 1.56, 0.64, 1);
--grn-spring-smooth: cubic-bezier(0.25, 1, 0.5, 1);
--grn-spring-subtle: cubic-bezier(0.22, 1, 0.36, 1);
/* Blur tiers */
--grn-blur-light: blur(5px);
--grn-blur-medium: blur(10px);
--grn-blur-heavy: blur(20px);
/* Typography */
--grn-font: 'Inter', system-ui, sans-serif;
--grn-hero-size: clamp(32px, 4vw + 1rem, 6vw);
--grn-body-size: clamp(16px, 1vw + 1rem, 1.1vw);
}
Font: Inter at weights 400, 500, 600. Always set -webkit-font-smoothing: antialiased.
Default (Lime): --grn-accent: #C2F13C — the canonical grainient.supply lime green.
Glass Hero (Mint/Violet): Override :root with the glass-hero palette for kaolti's dark glass aesthetic — mint green #57FFA8 accent, violet #A78BFA secondary, blue-tinted near-black #0a0a0c base. Includes Geist typography tokens and glass-edge border values. See references/glass-hero-palette.md for the full token block, typography scale, glassmorphism recipes, and differences from default grainient.
/* Quick swap — glass-hero palette */
:root {
--grn-bg: #0a0a0c;
--grn-accent: #57FFA8;
--grn-accent-40: rgba(87, 255, 168, 0.4);
--grn-accent-20: rgba(87, 255, 168, 0.2);
--grn-border: rgba(255, 255, 255, 0.11);
}
For the full 3D glass experience with MeshPhysicalMaterial refraction/dispersion/iridescence, use threejs-particle-canvas Mode 6 (glass-hero).
Every grainient page is a z-index stack of 6 layers:
Layer 0 z-index: 0 Body background (#000)
Layer 1 z-index: 1 Shader gradient canvas (position: fixed)
Layer 2 z-index: 2 Vignette overlay (position: fixed, pointer-events: none)
Layer 3 z-index: 3 Grid pattern overlay (position: fixed, pointer-events: none)
Layer 4 z-index: 10 Content sections (position: relative)
Layer 5 z-index: 100 Glassmorphism nav / floating UI (position: fixed)
Effects slot into layers. Content sections use surface colors (--grn-surface, --grn-elevated) for dark-on-dark elevation contrast.
See references/composability.md for composition recipes and performance budget.
#000. Surfaces elevate via #141414 → #1A1A1A → #2B2B2B.--grn-* tokens everywhere. Never hardcode colors — always reference custom properties.prefers-reduced-motion required. Every animated effect needs a reduced-motion fallback.requestAnimationFrame only. Never setInterval for animation.overflow: clip over overflow: hidden on individual containers, never on body.--grn-font — see Palette Presets section.ease timing function — use --grn-spring-* cubic-bezier tokensbox-shadow with fewer than 4 layers — grainient shadows are deep stacksborder for the inset border system — use box-shadow: inset 0 0 0 1px or per-side gradientsbackdrop-filter without a semi-transparent background — blur on opaque dark is invisiblescroll-behavior: smooth as a substitute for Lenis-style scroll — no inertia, no lerp controlclamp() with viewport-relative middleopacity: 0 for hover-zoom initial state without pointer-events: noneperspective() without overflow: visible on the container — clips 3D rotation#FFF) as background anywhere — this is a dark-mode skillSee references/anti-patterns.md for expanded explanations with code examples.
python3 scripts/grainient_generator.py \
--mode hero|bento|ticker|page|catalog \
--accent "#C2F13C" \
--bg "#000000" \
--surface "#141414" \
--output output.html
python3 scripts/validate_grainient.py output.html
Checks: viewport meta, --grn-* properties, no framework imports, dark background, requestAnimationFrame, prefers-reduced-motion, Inter font, overflow:clip. Optional checks (pass if found): WebGL context, wheel listener, translateY, CSS grid, gradient CTA, box-shadow glow, backdrop-filter, vignette.
Load on-demand when implementing specific effects:
| Reference | Covers |
|---|---|
references/shader-gradient.md | WebGL2 aurora shader: GLSL noise layers, setup, DPR, fallback |
references/vignette-system.md | 4-directional CSS gradient overlays, z-index, opacity |
references/shadow-system.md | 9-layer shadow recipe, lime/white glow variants |
references/smooth-scroll.md | Lenis-style vanilla JS scroll, lerp math, rAF loop |
references/spring-animations.md | 3 cubic-bezier presets, hover transitions |
references/hover-zoom.md | overflow:clip + opacity+scale reveal pattern |
references/ticker-marquee.md | Multi-column vertical ticker, speed variance |
references/surface-effects.md | Glassmorphism, 3D card flip, bento grid, gradient CTAs |
references/detail-effects.md | SVG gradient icons, inset borders, grid overlay, scrollbar, clamp typography |
references/color-system.md | Full palette, CSS custom properties, dark-on-dark elevation |
references/composability.md | Layer stack, composition recipes, performance budget |
references/anti-patterns.md | 16+ anti-patterns with wrong/right code examples |
references/glass-hero-palette.md | Glass Hero palette preset: mint/violet tokens, Geist typography, glassmorphism recipes |
Effects deconstructed from grainient.supply (Framer, Apr 2026). Technologies: UnicornStudio (WebGL), Lenis (smooth scroll), Framer Motion (spring animations), @shadergradient/react (shader gradient subdomain).
LICENSE (opens in a new tab)README.md (opens in a new tab)assets/templates/bento-showcase.html (opens in a new tab)assets/templates/dark-page.html (opens in a new tab)assets/templates/effects-catalog.html (opens in a new tab)assets/templates/hero-section.html (opens in a new tab)assets/templates/ticker-landing.html (opens in a new tab)references/anti-patterns.md (opens in a new tab)references/color-system.md (opens in a new tab)references/composability.md (opens in a new tab)references/detail-effects.md (opens in a new tab)references/glass-hero-palette.md (opens in a new tab)references/glassmorphic-agency.md (opens in a new tab)references/hover-zoom.md (opens in a new tab)references/shader-gradient.md (opens in a new tab)references/shadow-system.md (opens in a new tab)references/smooth-scroll.md (opens in a new tab)references/spring-animations.md (opens in a new tab)references/surface-effects.md (opens in a new tab)references/ticker-marquee.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub qadri-uk/claude-skills --plugin qadri-3d71 skills in this plugin
/360-product-spinAdd a 360° product spin (a draggable image sequence) to a product page, and produce the frames by photographing the product on a turntable or rendering a 3D model with three.js. Use when the user wants a 360 view, a spin or rotating product photos, "turn the product around", a 360 product viewer, sprite sheets for product rotation, or has product photos but no 3D model. Uses the zero-dependency Spin360 web component./3d-3d-cloth-materialBuild convincing woven cloth in Three.js, with a thread-level weave normal map, sheen and anisotropic highlights, folds that never stretch the texture, hems with thickness, stitches, seams, frayed edges, fold occlusion, dye and wear variation, and light passing through thin fabric. Use for linen, silk, wool, canvas, curtains, banners, cloaks, tablecloths, tapestries or any 3D drape that currently looks like a plastic sheet, a stretched texture, or a flat coloured plane./3d-3d-falling-leavesBuild recognizable falling leaves in world space using instanced geometry, independent tumble, coupled sideways drift, shared wind, scene occlusion, and camera-aware recycling. Use for 3D autumn leaves or drifting foliage in Three.js and similar scenes; use falling-leaves for a 2D canvas overlay.Other plugins' skills for the same job