대상의 여러 구역에 반투명 색 마스크가 주사선 순서로 차오르고 라벨이 붙는다.A scan progressively reveals predefined colored region masks.
차량의 차체와 바퀴를 30% 불투명도의 서로 다른 색으로 공개한다.
마스크를 완전 불투명하게 덮어 원본을 가린다.
기본값은 클립에 쓴 값Defaults are the values used in the clip
| 항목PARAM | 기본DEFAULT | 범위RANGE | 메모NOTE |
|---|---|---|---|
| 지속 | 1500ms | 1000~2500ms | 상단부터 스캔 |
| 스캔 단계 | 24 | 12~48 | 마스크 행 단위 공개 |
| 마스크 불투명도 | 0.3 | 0.2~0.45 | 원본 윤곽 유지 |
const tl=gsap.timeline({paused:true}),s={p:0};
tl.to(s,{p:1,duration:1.5,ease:'none',onUpdate:()=>{
ctx.clearRect(0,0,1920,1080);ctx.save();
ctx.beginPath();ctx.rect(0,0,1920,Math.floor(s.p*24)/24*1080);ctx.clip();
ctx.globalAlpha=0.3;ctx.drawImage(regionMask,0,0);ctx.restore();
}});그대로 붙여 넣는다Paste as is
<파일>의 <대상>에 영역 분할 스캔을 적용해. 사전 정의 영역 마스크를 행 단위 임계값으로 공개한다. 지속 1500ms; 스캔 단계 24; 마스크 불투명도 0.3을 적용한다. GSAP 코어의 paused 타임라인 하나로 seek 가능하게 만들고 임의 난수와 타이머를 쓰지 마.
Implement Segmentation Reveal on <target> in <file>. Reveal a predefined region mask over 1500ms in 24 scan steps at 0.3 opacity. Add region labels after their masks are revealed. Use one paused GSAP core timeline, support seeking, and avoid random values and timers.
<파일>의 설명 장면에서 <대상>에 영역 분할 스캔을 적용해. 사전 정의 영역 마스크를 행 단위 임계값으로 공개한다. 지속 1500ms; 스캔 단계 24; 마스크 불투명도 0.3을 적용한다. 0초, 0.75초, 1.5초를 캡처해 시작 상태, 중간 진행, 최종 상태를 확인하고 같은 시각으로 다시 seek했을 때 좌표와 라벨이 같은지 검증해.
Implement Segmentation Reveal on <target> in <file>. Reveal a predefined region mask over 1500ms in 24 scan steps at 0.3 opacity. Add region labels after their masks are revealed. Use one paused GSAP core timeline, support seeking, and avoid random values and timers. Capture at 0s, 0.75s, and 1.5s to check the initial state, intermediate motion, and final state. Seek to each time again and verify identical geometry and labels.
HyperFrames · ReelForge · Scrolline
개념 출처와 라이선스. 구현은 이 레포에서 새로 씀Concept sources and licenses. Implementations are original to this repo