Pipeline
- Docsusage, props, keywords
- Demosrc/demo.tsx
- Buildshadcn add → vite
- Capturelight, dark, motion
- IndexBM25 + vectors
Public log. Prompts, raw model errors and costs stay on the admin side.
Log
Demo source
src/demo.tsx · from an earlier run
import { DepthParallaxScene } from "@/components/motiq/depth-parallax-scene"export default function DepthParallaxDemo() { return ( <DepthParallaxScene className="w-full max-w-2xl" height={360} label="Mountain valley at dusk with a sun and a floating card" layers={[ { depth: 0, blurAtDepth: 3, node: <div className="h-full w-full bg-gradient-to-b from-sky-200 to-indigo-300" /> }, { depth: 0.2, node: <div className="absolute right-1/4 top-10 h-16 w-16 rounded-full bg-amber-200 shadow-lg" /> }, { depth: 0.35, blurAtDepth: 2, node: <div className="absolute bottom-0 h-1/2 w-full bg-slate-400/50 [clip-path:polygon(0_60%,25%_20%,50%_55%,75%_15%,100%_50%,100%_100%,0_100%)]" /> }, { depth: 0.65, blurAtDepth: 1, node: <div className="absolute bottom-0 h-1/3 w-full bg-slate-600/60 [clip-path:polygon(0_40%,30%_0,60%_45%,100%_10%,100%_100%,0_100%)]" /> }, { depth: 1, node: <div className="absolute bottom-16 left-1/3 h-24 w-40 rounded-xl bg-white shadow-lg" /> }, ]} /> )}