중심에서 회전하는 부채꼴 경계가 다음 장면을 드러내는 와이프A rotating pie-shaped edge sweeps from the center and reveals the next scene.
12시 방향에서 시작한 경계가 0.8초 동안 시계 방향으로 한 바퀴 돌며 다음 장면을 드러낸다
경계 속도가 들쭉날쭉하거나, 한 바퀴에 2초 이상 걸려 지루하다
기본값은 클립에 쓴 값Defaults are the values used in the clip
| 항목PARAM | 기본DEFAULT | 범위RANGE | 메모NOTE |
|---|---|---|---|
| 전체 지속 | 0.8s | 0.5~1.2s | 한 바퀴 기준 |
| 시작 각도 | 0deg (12시) | 0~270deg | 시계 방향 |
| 중심 | 50% 50% | 임의 좌표 | 피사체 위 피함 |
| 날개 수 | 1 | 1~4 | 4는 핀휠 변형 |
const s = { a: 0 };
tl.to(s, { a: 360, duration: 0.8, ease: 'none', onUpdate: () => {
document.querySelector('.b').style.clipPath =
`conic-gradient(from 0deg at 50% 50%, #000 ${s.a}deg, transparent 0)`; } });그대로 붙여 넣는다Paste as is
<대상A> 위에 <대상B>가 클록 와이프로 드러나게 해줘. 12시 방향에서 시작해 시계 방향으로 0.8초 동안 360도 돌고, 중심은 50% 50%, 이징은 none(linear). mask는 conic-gradient로 만들고 각도는 GSAP 상태 객체에서 읽어 paused 타임라인 하나로 seek 가능하게 해.
Reveal <targetB> over <targetA> with a clock wipe. Start at 12 o'clock and sweep clockwise 360 degrees over 0.8 seconds, center at 50% 50%, ease none (linear). Build the mask with conic-gradient, read the angle from a GSAP state object, and keep it in one paused timeline that supports seeking.
<파일>에 clock wipe를 적용해. 뒤 레이어에 conic-gradient mask를 걸고 각도를 0에서 360도로 0.8초, ease none으로 보간한다. 0.2초, 0.4초, 0.6초 시점을 캡처해 경계가 90도, 180도, 270도 근처인지 확인하고 0.8초에 뒤 장면이 전체 노출되는지 본다.
Apply a clock wipe in <file>. Put a conic-gradient mask on the incoming layer and tween the angle from 0 to 360 degrees over 0.8 seconds with ease none. Capture at 0.2, 0.4, and 0.6 seconds to check the edge sits near 90, 180, and 270 degrees, and at 0.8 seconds to confirm the new scene is fully shown.
HyperFrames · ReelForge · Scrolline
개념 출처와 라이선스. 구현은 이 레포에서 새로 씀Concept sources and licenses. Implementations are original to this repo