커서가 지나간 자리에 점, 이미지 또는 경로선이 남았다가 점차 사라진다.A fading trail records the cursor path.
커서 뒤에 12px 간격의 점이 남고 500ms 안에 사라진다
잔상이 본문 위에 쌓여 글자를 읽을 수 없다
기본값은 클립에 쓴 값Defaults are the values used in the clip
| 항목PARAM | 기본DEFAULT | 범위RANGE | 메모NOTE |
|---|---|---|---|
| 점 간격 | 12px | 8~24px | 경로 길이 기준 |
| 이동 | 800ms | 500~1200ms | 360px 경로 |
| 감쇠 | 500ms | 250~700ms | 점별 유지 시간 |
| 점 지름 | 6px | 4~10px | 본문을 가리지 않는 크기 |
const dots = gsap.utils.toArray('.trail-dot');
gsap.set(dots, {opacity:0});
dots.forEach((dot,i) => {
tl.set(dot,{opacity:0.6},i*0.8/Math.max(1,dots.length-1));
tl.to(dot,{opacity:0,duration:0.5,ease:'none'},i*0.8/Math.max(1,dots.length-1));
});그대로 붙여 넣는다Paste as is
<파일>의 <대상>에 커서 트레일을 적용한다. SVG 경로를 12px 간격으로 샘플링해 점을 미리 놓고 800ms 이동과 500ms 감쇠를 연결한다. 초기 상태를 명시한 paused 타임라인으로 만들고 고정 좌표와 시간만 사용해 seek를 재현한다.
Apply Cursor Trail to <target> in <file>. Preplace SVG dots at 12px path intervals and coordinate an 800ms cursor movement with a 500ms fade. Define the initial state and use a paused timeline with fixed coordinates and timings for repeatable seeking.
<파일>에서 <대상>의 커서 트레일 장면에 적용한다. SVG 경로를 12px 간격으로 샘플링해 점을 미리 놓고 800ms 이동과 500ms 감쇠를 연결한다. 0.33초·0.85초·1.50초 시점을 캡처해 시작 상태, 중간 관계, 최종 정착과 겹침 여부를 확인한다.
Implement Cursor Trail in the scene for <target> in <file>. Preplace SVG dots at 12px path intervals and coordinate an 800ms cursor movement with a 500ms fade. Capture at 0.33s, 0.85s, 1.50s to verify the initial state, intermediate relationships, final settling, and unwanted overlap.
HyperFrames · ReelForge · Scrolline
개념 출처와 라이선스. 구현은 이 레포에서 새로 씀Concept sources and licenses. Implementations are original to this repo