Scroll based 3d animations

From LUNARTECH-X/superpowers · View interactive version

Scroll based 3d animations is an AI agent skill from the GitHub repository LUNARTECH-X/superpowers. Creates Apple-style scroll-triggered 3D animations for product websites. Use when the user wants scroll-based frame animations, product exploded views, or premium interactive product pages like Apple's website.

How to use this skill

Skill file

Scroll-Based 3D Animations

Build Apple-style scroll-triggered animations that reveal products through frame sequences.

When to use this skill

Why Frames, Not Video

Video files on scroll:

Frame sequences:

Workflow

Phase 1: Generate Keyframes (Whisk)

Phase 2: Animate Transition (Veo Flow)

Phase 3: Extract Frames (EZGif)

Phase 4: Build Scroll Animation (Anti-Gravity)

Key Prompts

Google Flow Transition Prompt

Smoothly transition from the assembled product to exploded view. Slow motion professional internal tech showcase. Apple style animation. High quality professional 3D explosion. Show slow and professional disassembly of the parts before showing exploded view.

Cinematic Assembly (Reverse Animation)

Cinematic assembly. Start with a clean high quality vibrant gradient background. Smoothly, a dynamic vortex appears. Professional camera movement. Parts assemble smoothly into final product.

Anti-Gravity Website Prompt

Create a scroll-based frame animation website. Use the frames in the /sequence folder (or /public/sequence). Build a sticky scroll component that maps the user's scroll position to these image frames. As the user scrolls, progress through frames sequentially. Use Next.js with React. Ensure:
- Frames are preloaded for smooth playback
- Scroll position maps 0-100% to frame 1-N
- Section is sticky (100vh height)
- No lag or jitter during scroll
- Mobile responsive

Technical Specifications

Optimal Frame Settings

| Setting | Value |

|---------|-------|

| FPS | 25-30 |

| Resolution | 1080p |

| Total Frames | 200-250 |

| Video Duration | 8-10 seconds |

Frame Naming Convention

frame_001.jpg
frame_002.jpg
...
frame_240.jpg

Project Structure

project/
├── public/
│   └── sequence/
│       ├── frame_001.jpg
│       ├── frame_002.jpg
│       └── ...
├── src/
│   └── components/
│       └── ScrollAnimation.jsx
└── package.json

Terminal Commands

# After AI generates code
cd project-name
npm install
npm run dev

Common Issues & Fixes

Choppy Animation

Frame Loading Lag

Scroll Jitter

Resources

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.