60FPS GPU-Accelerated 3D Circular Showcase Carousel
A hardware-accelerated 3D cylindrical project showcase carousel. Engineered for buttery 60/120fps performance by bypassing React reconciliation during rotation, with inertial pointer swiping, momentum flick physics, dynamic depth-of-field fading, and front-card focus snap.
Exact AI Prompt
Copy and paste into Cursor, Claude, or ChatGPT
Create a high-performance 3D circular project gallery carousel in React with TypeScript and Tailwind CSS: 1. Render items along a cylindrical 3D circle in true 3D space using CSS perspective and rotateY/translateZ transforms. 2. Optimize for 60/120fps by mutating DOM element transforms directly inside a requestAnimationFrame loop rather than re-rendering React state on every frame. 3. Support fluid pointer/touch dragging with velocity tracking, momentum physics, and auto-snap to the nearest card on release. 4. Add subtle depth-of-field opacity and z-index ordering so foreground cards stay crisp and clickable while background cards gently recede. 5. Provide imperative controls (step next/prev, goTo index) and support prefers-reduced-motion.
