기준 위치에 남은 점에서 새 위치로 선이 늘어나고 화살촉이 끝을 따라 움직인다.An arrow extends from a fixed previous position toward the updated position.
이전 소득과 수명 좌표에서 새 좌표로 화살표를 늘린다.
항목마다 다른 축 척도를 써 화살표 길이를 비교할 수 없다.
기본값은 클립에 쓴 값Defaults are the values used in the clip
| 항목PARAM | 기본DEFAULT | 범위RANGE | 메모NOTE |
|---|---|---|---|
| 지속 시간 | 0.9s | 0.675~1.35s | 시점 또는 전환 한 회 기준 |
| 선폭 | 1.5px | 1~3px | 기준점은 고정 |
| 화살촉 길이 | 6px | 5~10px | 선 끝 marker로 연결 |
| 이징 | power2.inOut | power2.inOut | none은 선형 진행 |
const tl = gsap.timeline({paused:true});
arrows.forEach((el,i)=>{
gsap.set(el,{attr:{x1:before[i].x,y1:before[i].y,x2:before[i].x,y2:before[i].y}});
tl.to(el,{attr:{x2:after[i].x,y2:after[i].y},duration:0.9,ease:'power2.inOut'},0);
});그대로 붙여 넣는다Paste as is
<대상>에 변화 방향 화살표을 적용해줘. 이전 점을 고정하고 현재 점까지의 SVG 선과 marker 위치를 갱신한다. 입력 좌표와 ID 대응을 먼저 준비하고 snippet의 렌더 함수는 이 규칙으로 구현한다. 지속 시간 0.9s; 선폭 1.5px; 화살촉 길이 6px; 이징 power2.inOut로 구현하고 GSAP 코어 paused 타임라인 하나로 seek를 지원해. 이전 소득과 수명 좌표에서 새 좌표로 화살표를 늘린다.
Apply Connected Change Arrows to <target>. Use a 0.9s transition with power2.inOut easing and preserve item IDs, colors, and chart scales. Implement the geometry renderer used in the snippet with explicit before and after data; use a single paused GSAP core timeline and derive every frame from its playhead. An arrow extends from a fixed previous position toward the updated position.
<파일>의 데이터 차트 갱신 구간에 변화 방향 화살표을 적용해. 이전 점을 고정하고 현재 점까지의 SVG 선과 marker 위치를 갱신한다. 입력 좌표와 ID 대응을 먼저 준비하고 snippet의 렌더 함수는 이 규칙으로 구현한다. 지속 시간 0.9s; 선폭 1.5px; 화살촉 길이 6px; 이징 power2.inOut를 사용해. 0.225초, 0.45초, 0.9초 시점을 캡처해 기준 위치에 남은 점에서 새 위치로 선이 늘어나고 화살촉이 끝을 따라 움직인다. 항목 대응과 최종 수치를 확인하고 역방향 seek에서도 같은 화면인지 검증해.
Apply Connected Change Arrows in the chart update section of <file>. Use the card parameter defaults, a 0.9s transition, and power2.inOut easing; implement the snippet geometry helpers from fixed input data. Capture at 0.225s, 0.45s, and 0.9s to verify item correspondence, the intermediate geometry, and final values. Seek backward and forward to confirm identical output at identical times.
HyperFrames · ReelForge · Scrolline
개념 출처와 라이선스. 구현은 이 레포에서 새로 씀Concept sources and licenses. Implementations are original to this repo