フルスクリーン
Pelagic Glass — 深海サブサーフェス・コースティクスWebGL2シェーダー
一言でエージェント導入 商用無料 · カード不要 · 試用期限なし
Claude Code Cursor Codex Antigravity OpenClaw
Build my website from Motion3D "Pelagic Glass — Subsurface Caustics WebGL2 Shader" (https://motion3d.dev/works/pelagic-glass/): unpack the standalone ZIP into ./site, keep the 60fps WebGL / GLSL + HTML5 motion skeleton intact, and swap copy, logo & palette for my brand
永久商用無料ライセンス · エージェント用コマンドをコピーするか、ZIPを直接ダウンロードできます。
構造&カラーパレット
Production English AI Prompt · 7093 chars
Build "Pelagic Glass — Subsurface Light Field" (Study 04 by Nereid Optics Lab), a museum-grade, full-bleed interactive WebGL2/GLSL procedural underwater caustics artwork designed to render at a locked 60fps across desktop and retina displays. The default resting state MUST be a 100% unobstructed edge-to-edge canvas (`100vw × 100vh`, `overflow: hidden`, zero visible text, badges, borders, or chrome) so the viewer is immediately immersed in pure refracted pelagic light, matching the full-bleed contemplative purity of physical water-surface caustics. ### 1. Visual Aesthetic & Physically Grounded Color Ramp (Beer-Lambert Aquatic Absorption) Avoid cheesy neon Voronoi spiderwebs or rainbow RGB dispersion. Real underwater caustics attenuate warm red wavelengths first while letting blue-green light scatter deeply. Implement a strict, disciplined aquatic color hierarchy with zero overt chromatic aberration: - **Vertical Depth Backdrop Gradient** (always visible inside dark troughs): interpolate smoothly from Shallow Skylight Teal `#0A424E` across the top 15% of the viewport, through Pelagic Midnight `#042832` at mid-screen (40–60%), down to Abyssal Trench `#01131A` along the bottom 15% edge. - **Four-Tier Caustic Intensity Mapping**: 1. Faint gossamer secondary contour threads & wide outer veil: Subsurface Veil `#2F7A86` 2. Primary curved liquid ribbons & striated wave bands: Liquid Aquamarine `#58C0CA` 3. Sharp focused optical ridges: Electric Caustic Crest `#84FAFE` 4. Nonlinear focal intersection hotspots & constructive convergence cusps: Incandescent Cusp Core `#C9FFFF` (soft-shoulder HDR tonemapped so G and B approach 1.0 while R peaks near 0.78–0.96, staying glacially aquamarine-white without yellowing). - **Anti-Banding Micro-Grain**: Composite ultra-fine isotropic high-frequency filmic dithering (`std ≈ 0.5 / 255` per RGB channel) as the final shader pass to eliminate 8-bit banding across the deep `#01131A → #0A424E` water gradient. ### 2. Procedural Optical Caustics Math (Curvilinear Folds, Not Polygonal Voronoi) Write a custom GLSL ES 3.00 fragment shader on a fullscreen triangle that generates fluid, silk-like curvilinear caustic folds, pinched circular/toroidal lens rings, parallel wave-crest striations, and 1–2px gossamer ghost filaments: - **Exact 10.000-Second Seamless Closed-Orbit Loop (`T = 10.0`)**: Parameterize time strictly through circular phase angle `theta = 2.0 * PI * fract(uTime / 10.0)`. Drive all temporal noise coordinates along closed 4D/3D toroidal orbits `(R * cos(k * theta), R * sin(k * theta))` using integer harmonics `k = 1, 2, 3, 4`. Enforce zero net linear translational pan so the caustic web breathes, folds, pinches, and unfolds organically in-place with zero jump at the `10.0s → 0.0s` wrap. - **Multi-Stage Domain-Warped Ridge + Optical Convergence Field**: - Compute two-level iterative curl/domain warping (`q = fbm3D(p, orbit1)`, `r = fbm3D(p + 1.85 * q, orbit2)`) with gentle octave rotation matrices to eliminate axial grid alignment. - Derive the primary caustic ribbon from inverse-ridge focusing on the warped potential (`ridge = 1.0 - abs(fbm3D(p + 2.35 * r, orbit3))`) combined with local Jacobian/curvature focusing (`1.0 / (eps + length(grad))`) so flat wave-trough inflections bloom into luminous pools while steep folds pinch into razor-sharp `#C9FFFF` cusps and detached circular rings. - Shape intensity with a **dual-exponent optical kernel**: tight incandescent core `pow(ridge, 7.5) * 1.35` plus broad translucent volumetric veil `pow(ridge, 2.0) * 0.42`, layered with subtle parallel wave-crest striations (`sin(ridge * 18.0 + phase)` masked inside medium-high intensity bands). - Add a **phase-offset gossamer filament layer** (`exp(-52.0 * abs(secondaryRidge)) * 0.28`) to trace ultra-thin 1–2px `#2F7A86`–`#58C0CA` contour threads through the dark abyssal basins. ### 3. Millisecond-Accurate Harmonic Cadence & Choreographed Breathing Rhythm Tune the harmonic phase weights (`k = 1, 2, 3, 4`) so global bright-pixel coverage and deformation speed naturally follow a four-swell sinusoidal breathing curve (`easeInOutSine`, `cubic-bezier(0.37, 0, 0.63, 1)` per half-cycle) over each 10,000ms loop: - **0ms–1200ms (Opening Swell 1)**: Begins from a serene left-weighted cluster with an open right-hand pelagic dark basin (`~12%` bright area), accelerating smoothly across `400ms–1000ms` into central striated ribbons and pinched top-left rings (`~19.5%` bright area by `1200ms`). - **1200ms–2600ms (Swell 1 Ebb & Calm Trough)**: Forms an isolated upper-left circular ring and lower-right luminous pool (`1400ms`), then rapidly clears across `1600ms–2000ms` and decelerates into the sparsest abyssal trough at `2400ms–2800ms` (`~8%` bright coverage). - **2600ms–4000ms (Primary Climax Convergence)**: Accelerates steeply from `2800ms` to peak instantaneous morph velocity at `3400ms`, culminating in an incandescent multi-layer convergence plateau across `3600ms–4000ms` (`~28%` bright coverage flooding the central 75% of the frame). - **4200ms–5200ms (Midpoint Relaxation)**: Relaxes smoothly into horizontal striated ribbons and a calm velocity valley at `5200ms` (`~9.3%` bright coverage). - **5200ms–7200ms (Secondary Diagonal Swell)**: Sweeps diagonal aquamarine energy from bottom-left to top-right, peaking around `6000ms–6200ms` (`~17%` bright area) before easing gently to `7200ms`. - **7200ms–10000ms (Dual-Crest Closing Ebb & Seamless Wrap)**: Rebounds rapidly through a sharp velocity peak near `7800ms–8000ms`, settles past a soft secondary ridge (`8800ms`), decelerates to its calmest stillness around `9400ms–9600ms`, and wraps seamlessly back into the `0ms` left-cluster topology. ### 4. Subtle Interaction, Hidden Studio Drawer & Production Engineering - **Pointer Refractive Ripple**: Track normalized pointer coordinates with spring-damped velocity (`exponential decay τ = 1200ms`) and inject a gentle radial phase perturbation into the domain-warp field on mouse move or touch drag, bending nearby caustic ribbons organically without breaking the underlying 10.0s loop phase. - **Hidden-by-Default Exhibition HUD (`H` Key Toggle)**: Keep all UI completely invisible (`opacity: 0; pointer-events: none`) on initial load. Pressing `H` fades in (`320ms cubic-bezier(0.22, 1, 0.36, 1)`) a whisper-thin bottom-left frosted-glass placard (`rgba(4, 40, 50, 0.58)`, `backdrop-filter: blur(14px)`, `1px solid rgba(132, 250, 254, 0.16)`) titled **Pelagic Glass** (`Cormorant Garamond`, 20px light italic, `#C9FFFF`) with subtitle `STUDY 04 · NEREID OPTICS LAB` and compact controls (`IBM Plex Mono`, 10px uppercase, `tabular-nums`): `LOOP PHASE (0.00s–10.00s)`, `REFRACTION GAIN`, `SWELL PACE`, and `PAUSE / RESUME`. - **Engineering Polish**: Cap DPR at `Math.min(window.devicePixelRatio, 2)`, resize seamlessly via `ResizeObserver` preserving aspect-ratio-corrected isotropic UV space, support `?t=<seconds>` URL time-locking for deterministic visual QA, handle `webglcontextlost`, and slow animation pace to `0.35×` when `prefers-reduced-motion: reduce` is active.
アーキテクチャ・モーション・パレット

オリジナル・クリエイティブディレクション

Pelagic Glass (Nereid Optics Lab · Study 04) delivers museum-grade subsurface ocean caustics as a drop-in, zero-texture WebGL2 background canvas with ultra-low GPU overhead and a hidden exhibition HUD.

カラーシステム(クリックでHexをコピー)

レイアウト&セクション設計

Full-bleed 100vw × 100vh WebGL2 canvas with a hidden-by-default optical telemetry drawer (toggled via H key) exposing loop phase, refraction gain, and swell pace controls.

モーション&エンジニアリング構成

Custom multi-pass WebGL2 GLSL fragment shader with periodic 10s closed-orbit domain warping, FBO optical bloom, spring-damped pointer wake distortion, DPR clamping, and clean visibilitychange/kino:pause rAF halting.

実装ノート&こだわりのディテール

  • Evaluate time along a closed 2π trigonometric orbit so the 10-second loop wraps with zero seam or jump.
  • Clamp devicePixelRatio to 2 and pause rAF cleanly on document.hidden or kino:pause to preserve laptop battery.
  • Keep the studio HUD strictly hidden on initial paint so the canvas embeds cleanly as a hero background.

Performance, Mobile Fallback & AI Customization Specs

Pelagic Glass (WebGLシェーダー · 3D・UIクラフト, Motion3D craft score 9.4/10) ships as a zero-build, self-contained dark cinematic contrast architecture across 9 source files (27.5 KB ZIP) powered by WebGL / GLSL / HTML5 with 外部CDN不要のローカル同梱ランタイム. Primary interactive behaviors include Cursor & Physics, GLSLシェーダー, anchored on calibrated color tokens (Abyssal Trench (#01131A), Pelagic Midnight (#042832), Shallow Skylight Teal (#0A424E), Subsurface Veil (#2F7A86)).

  • 60fps GPU Hygiene & Resize Resilience: Pixel ratio clamping, debounced resize listeners, and GPU-composited transforms keep frame pacing steady across Retina displays without leaking WebGL contexts or stalling main-thread scroll.
  • Mobile & Reduced-Motion Graceful Degradation: Touch viewports automatically simplify hover-only physics into responsive tap/scroll interactions while respecting prefers-reduced-motion and preserving clean typography hierarchy.
  • Zero-Drift AI Re-Skinning: Feed the bundled 7093-character production prompt into Claude Code, Cursor, OpenAI Codex, Antigravity, or Vercel v0—or connect Motion3D MCP (npx -y motion3d-mcp)—so your agent edits content and CSS variables without breaking shader uniforms or camera damping.
  • Free Shadcn Registry CLI Install: Pull this permanently free blueprint directly into your codebase with npx shadcn@latest add https://motion3d.dev/r/pelagic-glass.json (index: /r/registry.json).
よくある質問

Frequently Asked Questions About Pelagic Glass

Can I preview Pelagic Glass live and use it in commercial client websites?

Yes. Pelagic Glass is permanently free ($0, zero login required) with a 1:1 live browser preview, direct standalone ZIP download (9 files, 27.5 KB), zero-key MCP install, and Shadcn Registry CLI (npx shadcn@latest add https://motion3d.dev/r/pelagic-glass.json). It carries a full commercial license for personal, startup, and paid client agency builds with no attribution required.

What tech stack, bundle size, and mobile fallback does Pelagic Glass use?

Pelagic Glass is engineered with WebGL / GLSL / HTML5 across 9 clean source files (27.5 KB ZIP with 外部CDN不要のローカル同梱ランタイム). It targets smooth 60fps desktop rendering with bounded devicePixelRatio scaling, responsive viewport resize handling, touch-friendly interaction fallbacks on mobile devices, and zero external CDN breakage.

How do I customize Pelagic Glass with Claude Code, Cursor, Codex, or Vercel v0?

Unpack the standalone ZIP (or pull via official MCP `npx -y motion3d-mcp` / `npx shadcn@latest add https://motion3d.dev/r/pelagic-glass.json`), then hand your AI coding agent the included 7093-character production prompt alongside your brand copy and target palette tokens. Preserve the core WebGL / GLSL / HTML5 motion skeleton while replacing typography, imagery, and CTA routes—or wrap the module cleanly inside Next.js, React, Vue, or Astro.

その他のオリジナルブループリント

More in 3D・UIクラフト →