hero-3d-anime-js-render-framework
Installation
SKILL.md
3D Hero with anime.js v4 Render Framework
What this builds
A full-viewport hero section where multiple visual layers live at different Z-depths inside a CSS perspective container, all orchestrated by anime.js v4 timelines. The user sees a parallax depth scene that responds to pointer movement (subtle tilt), plays a choreographed entrance sequence on load, and shifts layers at different scroll rates as they scroll down.
- CSS 3D transforms (perspective, translateZ, rotateX/Y) create real depth, not faked parallax offsets
- anime.js v4
createTimeline()sequences the entrance: layers fade/translate in with staggered timing - Pointer-reactive tilt maps cursor position to scene rotateX/Y (max +/-8 degrees)
- Scroll parallax moves layers at rates proportional to their Z-depth
- Idle float loop keeps the scene alive when the user stops interacting
- Single HTML file, no build step required, no WebGL
When to use / when not to
- Use when the hero needs visible depth and layered motion without the weight of WebGL/Three.js.
- Use when the brand allows playful 3D tilt and parallax (portfolios, SaaS landing pages, creative agencies).
- Do NOT use when the hero needs actual 3D geometry, lighting, or materials. Use
react-three-fiber-dreiorthree-js-fundamentalsinstead. - Do NOT use for a hero that is primarily typographic. Use
hero-kinetic-typographyinstead. - Do NOT use when scroll-driven image sequences are the centerpiece. Use
hero-video-scrub-appleinstead. - Do NOT use for particle effects. Use
hero-particle-text-formationorwebgl-particle-systemsinstead.