두 동작을 가중치로 섞어 한 동작에서 다음 동작으로 끊김 없이 넘어가는 전환Two motions are mixed by weight so one action flows into the next.
걷는 포즈 A의 가중치 1→0, 정지 포즈 B의 가중치 0→1을 0.3초 동안 선형으로 교차시킨다
블렌드 없이 프레임이 튀거나, 블렌드를 1초 이상 끌어 두 동작이 뭉개져 보인다
기본값은 클립에 쓴 값Defaults are the values used in the clip
| 항목PARAM | 기본DEFAULT | 범위RANGE | 메모NOTE |
|---|---|---|---|
| 블렌드 길이 | 0.3s | 0.2~0.5s | 교차 구간 |
| 가중치 | 0→1 | 0~1 | A는 1→0, 합은 항상 1 |
| 이징 | none | none~power1.inOut | 선형이 기본 |
| 시작 시각 | 동작 A 종료 0.1s 전 | -0.2~0s | 겹침으로 이어 붙임 |
const w = { v: 0 };
tl.to(w, { v: 1, duration: 0.3, ease: 'none', onUpdate: () => {
gsap.set('.figure', { x: 300 * (1 - w.v) + 0 * w.v, rotation: 8 * (1 - w.v) + 0 * w.v });
} }, 0.9);그대로 붙여 넣는다Paste as is
GSAP으로 <대상>의 <동작 A>에서 <동작 B>로 모션 블렌드를 넣어줘. 0.9초부터 0.3초 동안 가중치 v를 0에서 1로 선형으로 올리고 각 속성을 A*(1-v)+B*v로 계산해. 이징은 none, 가중치 합은 항상 1. paused 타임라인에서 seek해도 같은 값이 나오게 해.
Add a motion blend to <target> from <motion A> to <motion B> with GSAP. From 0.9s over 0.3s raise a weight v from 0 to 1 linearly and compute each property as A*(1-v)+B*v. Ease none, weights always sum to 1. Seeking on the paused timeline must give identical values.
<파일>의 <대상>에 motion-blend를 적용해. w={v:0}를 0.9s부터 0.3s 동안 v 1까지 ease none으로 tween하고 onUpdate에서 x, rotation을 A*(1-v)+B*v로 set. 0.9초·1.05초·1.2초에 캡처해 값이 A, 중간, B로 바뀌는지와 seek 후에도 같은 값인지 확인해.
Apply motion-blend to <target> in <file>. Tween w={v:0} to v 1 over 0.3s from 0.9s with ease none and in onUpdate set x and rotation to A*(1-v)+B*v. Capture at 0.9s, 1.05s and 1.2s to check the values move from A to the midpoint to B and stay identical after a seek.
HyperFrames · ReelForge · Scrolline
개념 출처와 라이선스. 구현은 이 레포에서 새로 씀Concept sources and licenses. Implementations are original to this repo