글자가 곡선 경로를 따라 배열되고 그 위를 이동하는 효과Characters sit along a curved path and travel over it.
'FROM SEOUL TO BUSAN'이 완만한 S곡선을 따라 2초 동안 offset 0에서 100%로 흘러 들어온다
급한 곡률에서 글자가 겹치고 뒤집혀 읽히지 않는다
기본값은 클립에 쓴 값Defaults are the values used in the clip
| 항목PARAM | 기본DEFAULT | 범위RANGE | 메모NOTE |
|---|---|---|---|
| 이동 시간 | 2s | 1.2~3s | offset 0→100% |
| 글자 크기 | 56px | 40~96px | 경로 대비 충분히 작게 |
| 경로 곡률 반경 | 글자 크기의 4배 이상 | 3~8배 | 겹침 방지 |
| 이징 | none | none~sine.inOut | 선형이 궤적 느낌 |
/* <path id="p" d="M100 700 C500 300 1000 1000 1800 400"/><text><textPath href="#p" id="tp">FROM SEOUL TO BUSAN</textPath></text> */
tl.fromTo('#tp', { attr: { startOffset: '-60%' } },
{ attr: { startOffset: '5%' }, duration: 2, ease: 'none' }, 0);그대로 붙여 넣는다Paste as is
<대상>에 SVG 곡선 경로(완만한 S자)를 만들고, 문구 '<문구>'를 textPath로 올려 2초 동안 startOffset이 -60%에서 5%로 흘러 들어오게 해줘. 글자 크기 56px, 이징 none, 도착 뒤 1.5초 정지. 경로 곡률 반경은 글자 크기의 4배 이상으로 잡고 paused 타임라인 하나로 만들어.
In <target> draw a gentle S-shaped SVG path and place '<text>' on it as a textPath so startOffset runs from -60% to 5% over 2 seconds. Font size 56px, ease none, hold 1.5 seconds after arrival. Keep the curve radius at least 4 times the font size and use one paused timeline.
<파일>에서 textPath의 startOffset을 attr tween(-60%→5%, 2s, none)으로 구동해. 0.5초, 1.2초, 2.5초 시점을 캡처해 글자가 겹치거나 뒤집히지 않는지, 2.5초에 문장 전체가 경로 안에 들어와 있는지 확인해.
In <file> drive the textPath startOffset with an attr tween (-60% to 5%, 2s, none). Capture at 0.5s, 1.2s and 2.5s and verify letters never overlap or flip and that the whole sentence sits inside the path at 2.5s.
HyperFrames · ReelForge · Scrolline
개념 출처와 라이선스. 구현은 이 레포에서 새로 씀Concept sources and licenses. Implementations are original to this repo