이동 도중 목표가 바뀌어도 현재 위치에서 새 방향으로 자연스럽게 가감속한다When the target changes mid-move, the element eases from its current position toward the new direction.
800ms 이동의 40% 지점(320ms)에서 목표가 바뀌고, 현재 위치에서 400ms 동안 새 목표로 이어진다. 위치 점프가 없다
목표가 바뀌면 시작점으로 순간 이동한 뒤 새 tween을 시작해 점프한다. 속도가 0으로 떨어졌다 다시 출발한다
기본값은 클립에 쓴 값Defaults are the values used in the clip
| 항목PARAM | 기본DEFAULT | 범위RANGE | 메모NOTE |
|---|---|---|---|
| 첫 이동 | 800ms | 600~1000ms | 원래 목표 x 700 |
| 변경 시점 | 40% | 30~60% | 320ms |
| 재이동 | 400ms | 300~600ms | 새 목표 x 200 |
| 이징 | power2.out | 재이동은 감속만 |
tl.to('.dot', { x: 700, duration: 0.8, ease: 'power2.out' }, 0.2);
tl.call(() => {}, null, 0.52);
tl.to('.dot', { x: 200, duration: 0.4, ease: 'power2.out', overwrite: 'auto' }, 0.52); // 현재 위치에서 재시작그대로 붙여 넣는다Paste as is
<대상> 점이 x 700으로 0.8초 동안 power2.out으로 이동하다가 0.52초에 목표가 x 200으로 바뀌는 장면을 만들어줘. 현재 위치에서 0.4초, power2.out으로 새 목표로 이어 가게 하고 시작점으로 튀지 않게 해.
In <target>, make a dot move to x 700 over 0.8 seconds with power2.out, then at 0.52 seconds retarget it to x 200. Continue from its current position over 0.4 seconds with power2.out and no jump back to the start.
<파일>에 retarget motion을 구현해. 첫 tween x 700 / 0.8s / power2.out, 0.52초에 새 tween x 200 / 0.4s / power2.out, 현재 위치에서 시작. 0.5초, 0.52초, 0.53초를 캡처해 0.52초 전후 x 값이 연속인지(점프 없음), 그 뒤 x가 200으로 수렴하는지 확인해.
Implement retarget motion in <file>: first tween x 700 / 0.8s / power2.out, then at 0.52s a new tween x 200 / 0.4s / power2.out starting from the current position. Capture at 0.5s, 0.52s and 0.53s and verify x is continuous across 0.52s with no jump and converges to 200 afterward.
HyperFrames · ReelForge · Scrolline
개념 출처와 라이선스. 구현은 이 레포에서 새로 씀Concept sources and licenses. Implementations are original to this repo