VanillaReactLight & dark182 views
A true 3D perspective ring carousel — six landscape photographs on a rotating cylinder built from `perspective` + `rotateY` + `translateZ`, spun by grab-and-drag (mouse and touch) with lerp-smoothed inertial momentum, radius solved with trigonometry and recomputed on resize.
Carousel component
A true 3D perspective ring carousel — six landscape photographs on a rotating cylinder built from `perspective` + `rotateY` + `translateZ`, spun by grab-and-drag (mouse and touch) with lerp-smoothed inertial momentum, radius solved with trigonometry and recomputed on resize.
perspective, per-cell rotateY, and translateZrequestAnimationFrame loopitemWidth / 2 / tan(π / count)) and recomputed on every resizefetchImages() seam ready to swap for a real APIprefers-reduced-motion — animations collapse and the ring snaps instead of easingrole="region" aria-roledescription="carousel" with aria-labelrole="group" aria-roledescription="slide" with a per-image aria-labelaria-live="polite" announces the front-facing imageArrowLeft/ArrowRight rotate the ring when the region is focused:focus-visible with a --ring outlinealt textprefers-reduced-motion: reduce disables easing and animation100dvh for a mobile-safe stage heightOpen Carousel 3D in Atheros AI Builder, pick a design system and ask the AI assistant to change the layout, copy or behaviour — the carousel is regenerated against your tokens. Take the HTML, CSS, JS and React source with you, or pull it into your repo from Claude Code, Cursor or Codex over MCP.
300+ production-ready components and Atheros AI models. Every paid plan includes access to the whole Atheros — AI Builder and Learning.
Starting at $9.9 per month, billed annually