얇은 면의 한 모서리가 비스듬히 말려 올라가며 뒷면과 그림자가 드러나는 움직임One corner of a thin surface curls up at an angle, exposing its back and a soft shadow.
카드 우하단 모서리가 500ms 동안 40px 크기로 45도 방향에 말려 올라가고 뒷면 색과 옅은 그림자가 나타난다
말림이 커져 카드 절반이 접힌 것처럼 보이거나, 그림자가 없어 평면 도형이 잘린 것처럼 보인다
기본값은 클립에 쓴 값Defaults are the values used in the clip
| 항목PARAM | 기본DEFAULT | 범위RANGE | 메모NOTE |
|---|---|---|---|
| 시간 | 0.5s | 0.3~0.8s | 말림 진행 |
| 말림 크기 | 40px | 24~80px | 대각선 접힘 변 |
| 접힘 방향 | 45deg | 30~60deg | 우하단 기준 |
| 그림자 opacity | 0.25 | 0.15~0.35 | 말림에 비례 |
| 이징 | power2.out | power1~power3 |
// .peel: 우하단 삼각형(접힌 면), .shade: 그림자 삼각형
tl.fromTo('.peel', { width: 0, height: 0 }, { width: 40, height: 40, duration: 0.5, ease: 'power2.out' }, 0.3);
tl.fromTo('.shade', { opacity: 0 }, { opacity: 0.25, duration: 0.5, ease: 'power2.out' }, 0.3);
// .peel { background: linear-gradient(135deg, #ddd, #fff); clip-path: polygon(0 0, 100% 0, 0 100%) }그대로 붙여 넣는다Paste as is
GSAP으로 <카드> 우하단 모서리를 말아 올려 줘. 0.3초부터 0.5초 동안 접힌 삼각형을 0에서 40px까지 power2.out으로 키우고, 접힌 면은 밝은 회색 그라디언트, 그림자는 opacity 0에서 0.25로 함께 올려. 말림은 카드 짧은 변의 20%를 넘지 않게 하고 paused 타임라인으로 만들어.
Use GSAP to peel the bottom-right corner of <card>. From 0.3 seconds, grow a folded triangle from 0 to 40px over 0.5 seconds with power2.out, styled with a light gray gradient, while raising its shadow opacity from 0 to 0.25. Keep the curl under 20% of the card's short side. Paused timeline.
<파일>의 카드에 corner-peel을 적용해. .peel width/height 0→40px, .shade opacity 0→0.25를 position 0.3, duration 0.5, ease power2.out으로 건다. 0.3초는 평평, 0.55초는 말림이 절반, 1.0초는 40px 말림과 그림자가 보이는지 캡처로 확인해.
Apply corner-peel to the card in <file>. Tween .peel width and height 0 to 40px and .shade opacity 0 to 0.25 at position 0.3, duration 0.5, ease power2.out. Capture 0.3s (flat), 0.55s (half curled) and 1.0s (40px curl with shadow visible).
HyperFrames · ReelForge · Scrolline
개념 출처와 라이선스. 구현은 이 레포에서 새로 씀Concept sources and licenses. Implementations are original to this repo
gongnyang/reelforge:skills/reelforge/references/grammar/01-anchor-transform.md#skew-pivot-peel)Apache-2.0