장면이 여러 면으로 접혀 작아지고 새 장면이 접힌 면에서 펼쳐진다The scene folds into several panels and shrinks, and the new scene unfolds from the folded faces.
장면이 4개 패널로 900ms 동안 지그재그로 접히고, 접힌 위치에서 새 장면이 순서대로 펼쳐진다
패널 수가 2개뿐이라 단순 미러와 같고, 면마다 그림자가 없어 평면 회전으로 보인다
기본값은 클립에 쓴 값Defaults are the values used in the clip
| 항목PARAM | 기본DEFAULT | 범위RANGE | 메모NOTE |
|---|---|---|---|
| 지속 | 900ms | 700~1200ms | easeInOutCubic |
| 패널 수 | 4 | 3~6 | 480px 폭 |
| 접힘 각도 | ±90deg | 80~90deg | 지그재그 |
| 패널 시차 | 60ms | 40~100ms | 순차 |
| 그림자 opacity | 0.3 | 0.2~0.4 | 접힌 면 |
gsap.set('.stage', { perspective: 2000 });
for (let i = 0; i < 4; i++) {
tl.to(`.panel-${i}`, { rotationY: i % 2 ? 90 : -90, transformOrigin: i % 2 ? '100% 50%' : '0% 50%', duration: 0.5, ease: 'power3.inOut' }, i * 0.06);
tl.to(`.shade-${i}`, { opacity: 0.3, duration: 0.5, ease: 'none' }, i * 0.06);
}그대로 붙여 넣는다Paste as is
<대상> 장면 전환에 종이 접기 전환을 넣어줘. 부모 perspective 2000px, 이전 장면을 폭 480px 패널 4개로 나눠 패널 i가 i*0.06초 늦게 rotationY 짝수 -90, 홀수 90도로 0.5초 power3.inOut으로 접히게 하고, 같은 시각 그림자 레이어 opacity를 0.3까지 올려. 접힌 뒤 새 장면이 펼쳐지게 하고 paused 타임라인으로 seek 가능하게 해.
Add an Origami Fold to <target>. Set perspective 2000px and split the previous scene into 4 panels of 480px. Panel i starts i*0.06s later and rotates on Y to -90 (even) or 90 (odd) over 0.5s with power3.inOut, while a shade layer rises to opacity 0.3. Then unfold the new scene the same way in reverse. Paused, seekable timeline.
<파일>에 종이 접기 전환을 구현해. perspective 2000, .panel-i rotationY 짝수 -90, 홀수 90, 0.5초 power3.inOut, position i*0.06, .shade-i opacity 0.3. 그 뒤 새 장면 패널들이 반대로 펼침. 0.2초, 0.4초, 0.6초, 0.9초 시점을 캡처해 접힘 면에 그림자가 있는지, 0.9초에 새 장면이 전체인지 확인해.
Implement Origami Fold in <file>. perspective 2000; .panel-i rotationY -90 (even) or 90 (odd), 0.5s power3.inOut, position i*0.06; .shade-i opacity 0.3. Then unfold the new scene panels in reverse. Capture at 0.2s, 0.4s, 0.6s, and 0.9s to confirm shading on folds and that the new scene is complete at 0.9s.
HyperFrames · ReelForge · Scrolline
개념 출처와 라이선스. 구현은 이 레포에서 새로 씀Concept sources and licenses. Implementations are original to this repo