새 표본이 오른쪽에 붙고 기존 선과 눈금이 왼쪽으로 밀리며 오래된 표본이 사라진다.New samples enter on the right as older samples and ticks move left out of a rolling window.
30개 표본 창에서 새 값이 0.5초마다 들어오며 선이 왼쪽으로 흐른다.
매 갱신마다 축 범위를 바꿔 실제 변화보다 큰 흔들림을 만든다.
기본값은 클립에 쓴 값Defaults are the values used in the clip
| 항목PARAM | 기본DEFAULT | 범위RANGE | 메모NOTE |
|---|---|---|---|
| 지속 시간 | 0.5s | 0.375~0.75s | 시점 또는 전환 한 회 기준 |
| 창 표본 수 | 30 | 20~60 | 오래된 표본은 창 밖으로 제거 |
| 표본 간격 | 500ms | 250~1000ms | 고정 데이터와 시간 척도 |
| 이징 | none | none | none은 선형 진행 |
const tl = gsap.timeline({paused:true});
const s = {time:0};
const samples = fixedSamples;
tl.to(s,{time:10,duration:10,ease:'none',onUpdate:()=>{
drawCanvasWindow(samples,s.time,30,0.5);
}});그대로 붙여 넣는다Paste as is
<대상>에 실시간 차트 흐름을 적용해줘. Canvas 좌표를 시간 창 기준으로 다시 계산하고 전체 이동을 보간한다. 입력 좌표와 ID 대응을 먼저 준비하고 snippet의 렌더 함수는 이 규칙으로 구현한다. 지속 시간 0.5s; 창 표본 수 30; 표본 간격 500ms; 이징 none로 구현하고 GSAP 코어 paused 타임라인 하나로 seek를 지원해. 30개 표본 창에서 새 값이 0.5초마다 들어오며 선이 왼쪽으로 흐른다.
Apply Streaming Chart to <target>. Use a 0.5s transition with none 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. New samples enter on the right as older samples and ticks move left out of a rolling window.
<파일>의 데이터 차트 갱신 구간에 실시간 차트 흐름을 적용해. Canvas 좌표를 시간 창 기준으로 다시 계산하고 전체 이동을 보간한다. 입력 좌표와 ID 대응을 먼저 준비하고 snippet의 렌더 함수는 이 규칙으로 구현한다. 지속 시간 0.5s; 창 표본 수 30; 표본 간격 500ms; 이징 none를 사용해. 0.125초, 0.25초, 0.5초 시점을 캡처해 새 표본이 오른쪽에 붙고 기존 선과 눈금이 왼쪽으로 밀리며 오래된 표본이 사라진다. 항목 대응과 최종 수치를 확인하고 역방향 seek에서도 같은 화면인지 검증해.
Apply Streaming Chart in the chart update section of <file>. Use the card parameter defaults, a 0.5s transition, and none easing; implement the snippet geometry helpers from fixed input data. Capture at 0.125s, 0.25s, and 0.5s 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