한 토큰이 참조하는 다른 토큰을 굵기와 진하기가 다른 호로 연결하는 움직임An animation that connects one token to the tokens it references using arcs of varying thickness and opacity.
고른다에서 다음으로 향하는 호가 가장 굵게 그려진다
모든 호를 같은 굵기로 그려 가중치 차이가 사라진다
기본값은 클립에 쓴 값Defaults are the values used in the clip
| 항목PARAM | 기본DEFAULT | 범위RANGE | 메모NOTE |
|---|---|---|---|
| 선 굵기 | 0.5~6px | 0.5~8px | 가중치 비례 |
| 호 그리기 | 1.15s | 0.8~1.4s | 출발점부터 연결 |
| 시간차 | 0.12s | 0.06~0.15s | 연결 순서 |
| 진하기 | 0.25~0.9 | 0.2~1 | 굵기와 함께 비중 표시 |
const tl = Motion.timeline();
tl.from('.source',{color:'var(--ink)',duration:.3},.3);
tl.to('path',{strokeDashoffset:0,duration:1.15,stagger:.12,ease:'power2.inOut'},.45);
tl.to('.weights',{opacity:1,duration:.35},1.9);그대로 붙여 넣는다Paste as is
<대상>의 마지막 토큰을 주홍으로 강조하고 다른 네 토큰으로 SVG 호를 그린다. pathLength를 1로 두고 0.45초부터 strokeDashoffset을 1에서 0으로 1.15초 power2.inOut, 0.12초 stagger로 바꾼다. 선 굵기는 1.5, 0.5, 6, 3px이고 진하기는 0.35, 0.25, 0.9, 0.6으로 한다. 3초 타임라인 하나로 만들고 마지막 0.6초는 정지한다.
Highlight the last token in <target> in vermilion and draw SVG arcs to four other tokens. Set pathLength to 1. Starting at 0.45 seconds, animate strokeDashoffset from 1 to 0 over 1.15 seconds with power2.inOut and a 0.12-second stagger. Use stroke widths of 1.5, 0.5, 6, 3px and opacities of 0.35, 0.25, 0.9, 0.6. Use a single 3-second timeline and hold still for the final 0.6 seconds.
<파일>의 <대상>에 <대상>의 마지막 토큰을 주홍으로 강조하고 다른 네 토큰으로 SVG 호를 그린다. pathLength를 1로 두고 0.45초부터 strokeDashoffset을 1에서 0으로 1.15초 power2.inOut, 0.12초 stagger로 바꾼다. 선 굵기는 1.5, 0.5, 6, 3px이고 진하기는 0.35, 0.25, 0.9, 0.6으로 한다. 0.24초, 1.25초, 2.9초를 캡처해 출발 토큰, 호의 성장, 가중치별 굵기 차이를 확인한다. 시간은 GSAP 타임라인만 사용한다.
In <target> in <file>, Highlight the last token in <target> in vermilion and draw SVG arcs to four other tokens. Set pathLength to 1. Starting at 0.45 seconds, animate strokeDashoffset from 1 to 0 over 1.15 seconds with power2.inOut and a 0.12-second stagger. Use stroke widths of 1.5, 0.5, 6, 3px and opacities of 0.35, 0.25, 0.9, 0.6. Capture at 0.24, 1.25, and 2.9 seconds to check the source token, arc growth, and stroke-width differences by weight. Use only a GSAP timeline for timing.
HyperFrames · ReelForge · Scrolline
개념 출처와 라이선스. 구현은 이 레포에서 새로 씀Concept sources and licenses. Implementations are original to this repo