겹쳐진 평면 레이어들이 깊이와 각도 차이를 두고 벌어져 보인 뒤 다시 포개진다Stacked flat layers spread out at different depths and angles, then fold back together.
레이어 4장이 1600ms 동안 깊이 간격 100px, 회전 15도로 벌어져 층이 드러나고, 60ms 간격으로 순차 재결합한다
깊이 간격 500px로 벌려 원근이 과하게 왜곡되고, 레이어가 서로 관통한다
기본값은 클립에 쓴 값Defaults are the values used in the clip
| 항목PARAM | 기본DEFAULT | 범위RANGE | 메모NOTE |
|---|---|---|---|
| 지속 | 1600ms | 1200~2000ms | 벌림 800 + 재결합 800 |
| 깊이 간격 | 100px | 60~160px | translateZ |
| 회전 | 15도 | 10~25도 | rotateY 또는 rotateX |
| 레이어 간 시간차 | 60ms | 40~100ms | stagger |
gsap.set('.stack', { transformStyle: 'preserve-3d', perspective: 1400, rotateX: 55, rotateZ: -35 });
layers.forEach((el, i) => tl.to(el, { z: i * 100, duration: 0.8, ease: 'power3.inOut' }, 0.3 + i * 0.06));
layers.forEach((el, i) => tl.to(el, { z: 0, duration: 0.8, ease: 'power3.inOut' }, 1.8 + i * 0.06));그대로 붙여 넣는다Paste as is
<대상> 화면 스택을 레이어 분리로 보여줘. 컨테이너에 perspective 1400, rotateX 55, rotateZ -35를 주고, 레이어 4장의 translateZ를 0.3초부터 60ms 간격으로 0, 100, 200, 300px로 0.8초 동안 power3.inOut으로 벌린 뒤 1.8초에 순서대로 다시 0으로 합쳐.
Show the screen stack in <target> with layer separation. On the container set perspective 1400, rotateX 55 and rotateZ -35, then spread the 4 layers' translateZ to 0, 100, 200, 300px over 0.8 seconds from 0.3s with a 60ms stagger and power3.inOut, and merge them back to 0 in order at 1.8 seconds.
<파일>에 layer separation을 구현해. preserve-3d, perspective 1400, 레이어 4장 z i*100, 벌림 0.8s, 재결합 0.8s, stagger 0.06s, ease power3.inOut. 0.3초, 1.1초, 1.8초, 2.7초를 캡처해 층 간격이 최대인 순간이 1.1~1.8초인지, 2.7초에 완전히 포개지는지 확인해.
Implement layer separation in <file>: preserve-3d, perspective 1400, 4 layers at z i*100, spread 0.8s, rejoin 0.8s, stagger 0.06s, ease power3.inOut. Capture at 0.3s, 1.1s, 1.8s and 2.7s and verify spacing is widest between 1.1s and 1.8s and fully stacked again at 2.7s.
HyperFrames · ReelForge · Scrolline
개념 출처와 라이선스. 구현은 이 레포에서 새로 씀Concept sources and licenses. Implementations are original to this repo