The signature flagship showpiece: 30,000 additive emerald-to-cyan particles smoothly morphing across Spiral Galaxy, DNA Double Helix, Torus Knot, and Fibonacci Sphere with raycasted 3D magnetic swirl physics.
// Drop the standalone particle-morph.html into /public/effects/particle-morph.html
// Or copy the HTML/CSS/JS tab directly into your component — zero external dependencies.
export function ParticleMorphEmbed() {
return (
<div className="relative min-h-[480px] w-full overflow-hidden rounded-2xl border border-white/10">
<iframe
src="/effects/particle-morph.html"
title="Obsidian Morph 30K"
className="h-full min-h-[480px] w-full border-0"
loading="lazy"
/>
</div>
)
}Loading single-file HTML…
Create a single-file interactive 3D WebGL experience using Three.js (via ES module CDN) featuring 30,000 glowing particles on a deep obsidian (#05070a) background. - Geometry morphing: Smoothly interpolate particle positions between 4 mathematical 3D shapes (Spiral Galaxy, DNA Double Helix, Torus Knot, and Fibonacci Sphere) using custom vertex/fragment shaders or smooth lerp transitions triggered by a minimalist floating glassmorphic pill UI at the bottom. - Mouse interaction: Raycast mouse position to create a smooth 3D magnetic repulsion/swirl field around the cursor with spring-back physics. - Visuals: Soft additive blending, emerald-to-cyan color gradient (#10b981 to #06b6d4), subtle UnrealBloomPass glow, and smooth OrbitControls with auto-rotation and damping. - Make it fully responsive, 60fps optimized, and include a clean toggle button to hide UI for fullscreen zen mode.
WHY THIS WORKS IN PRODUCTION
- Spiral Galaxy, DNA Double Helix, (3,5) Torus Knot & Fibonacci Sphere
- Raycast 3D cursor vortex + damped Hooke spring-back physics
- Custom GLSL additive emerald-to-cyan shader (#10b981 → #06b6d4)
- Minimalist glassmorphic pill dock & fullscreen Zen Mode (Z)
DROP-IN SPECS // WEB & MOBILE FIT






