aigent-3d-scroll-systemlisted
Install: claude install-skill wrg32786/aigent-design-system
# AIgent 3D Scroll System
Use this skill to build immersive web pages that feel designed, not generated.
## First Decision
Choose the lightest 3D technique that can carry the idea:
- Use **Spline embed** for fast immersive backgrounds and interactive scenes.
- Use **Blender frame sequence** for photoreal art direction and mobile-safe cinematic scroll.
- Use **Three.js** only when the page needs live interaction, procedural geometry, or real-time lighting.
Do not add random floating objects. The scene should support the story.
## AIgent Pattern
1. Start with a full-viewport scene.
2. Anchor a clear focal point.
3. Map scroll progress to scene progress.
4. Reveal text and cards only when they are readable.
5. Keep copy short and plain.
6. Verify mobile before calling it done.
## Spline Scroll Mapping
Use CSS variables to keep the animation simple and inspectable:
```js
const max = document.documentElement.scrollHeight - window.innerHeight;
const p = Math.min(1, Math.max(0, window.scrollY / max));
const scene = Math.min(1, p * 1.8);
root.style.setProperty("--scene-scale", (1 + scene * 1.4).toFixed(3));
root.style.setProperty("--scene-rotate", `${(scene * -72).toFixed(2)}deg`);
root.style.setProperty("--scene-x", "0px");
root.style.setProperty("--scene-y", "0px");
```
If the background effect is only half done when the page ends, increase the multiplier. If it finishes too early, lower it.
## Focal Point Rule
For tunnels, vortexes, and control-room backgrounds:
- Ke