선택 창이 이동하거나 넓어지면 상세 차트가 해당 기간의 데이터로 연속 갱신된다.Moving or resizing a brush window updates a linked detail chart.
개요의 기간 창을 옮기면 상세 차트의 같은 기간이 함께 바뀐다
선택 기간과 상세 축의 날짜가 서로 다르다
기본값은 클립에 쓴 값Defaults are the values used in the clip
| 항목PARAM | 기본DEFAULT | 범위RANGE | 메모NOTE |
|---|---|---|---|
| 기본 지속 | 1s | 0.6~1.5s | 1920x1080 시연 기준의 한 동작 시간 |
| 상세 갱신 시간 | 400ms | 200~600ms | 대상 크기와 정보 밀도에 맞춰 조절한다 |
| 이징 | power2.inOut | none | power2.out | power2.inOut | 진행값은 none, 정착은 power2.out을 쓴다 |
const range = {start:0,end:4};
const data = [12,18,10,25,21,30,26,35];
tl.to(range,{start:2,end:6,duration:1,ease:'power2.inOut',onUpdate:()=>{
gsap.set('.brush',{attr:{x:range.start*60,width:(range.end-range.start)*60}});
gsap.utils.toArray('.detail-dot').forEach((el,i)=>{const t=range.start+i*(range.end-range.start)/3,k=Math.floor(t);gsap.set(el,{attr:{cx:i*100,cy:300-5*(data[k]+(data[Math.min(k+1,7)]-data[k])*(t-k))}});});
}},0);그대로 붙여 넣는다Paste as is
<대상>에 브러시 연동 갱신을 적용해. 선택 창이 이동하거나 넓어지면 상세 차트가 해당 기간의 데이터로 연속 갱신된다. 기본 지속 1초, 상세 갱신 시간 400ms, 이징 power2.inOut를 사용하고 <파일>에 결정론적 paused 타임라인으로 구현해. 위 핵심 코드의 선택자를 대상 구조에 맞추고 완료 상태를 유지해.
Apply Brush-linked Update to <target> in <file>. Moving or resizing a brush window updates a linked detail chart. Use a 1-second duration, a 400ms detail update, and power2.inOut easing. Implement the core snippet with selectors matching the target, using a deterministic paused timeline, and retain the final state.
<파일>의 시연 장면에서 <대상>에 브러시 연동 갱신을 적용해. 기본 지속 1초, 상세 갱신 시간 400ms, 이징 power2.inOut를 사용해. 0초, 0.5초, 1.4초를 캡처해 초기 상태, 중간 변화, 완료 상태를 확인하고 같은 시점 seek 결과가 일치하는지 검증해.
Apply Brush-linked Update to <target> in the demonstration scene in <file>. Use a 1-second duration, a 400ms detail update, and power2.inOut easing. Capture at 0, 0.5, and 1.4 seconds to verify the initial, intermediate, and final states. Seek to the same times again and confirm identical results.
HyperFrames · ReelForge · Scrolline
개념 출처와 라이선스. 구현은 이 레포에서 새로 씀Concept sources and licenses. Implementations are original to this repo