큰 경로를 따라 움직이는 대상에 작은 흔들림이나 회전이 동시에 더해진다A small wobble or rotation is layered on top of an element following a larger path.
부모가 2초에 걸쳐 x 900px 이동하는 동안 자식이 주기 0.4초, 위치 진폭 6px, 회전 2도로 흔들린다
이동과 흔들림을 하나의 tween에 섞어 값을 덮어쓰거나, 진폭을 30px로 키워 술 취한 것처럼 보인다
기본값은 클립에 쓴 값Defaults are the values used in the clip
| 항목PARAM | 기본DEFAULT | 범위RANGE | 메모NOTE |
|---|---|---|---|
| 주경로 시간 | 2s | 1.5~3s | 부모의 이동 |
| 보조 주기 | 0.4s | 0.3~0.6s | 자식 진동 |
| 위치 진폭 | 6px | 3~10px | y 방향 |
| 회전 | 2도 | 1~3도 | 사인 곡선 |
tl.to('.rig', { x: 900, duration: 2, ease: 'power2.inOut' }, 0.3); // 부모: 주경로
tl.to('.item', { y: 6, rotation: 2, duration: 0.2, ease: 'sine.inOut', yoyo: true, repeat: 9 }, 0.3); // 자식: 0.4s 주기, 10 반주기그대로 붙여 넣는다Paste as is
<대상> 카드에 가산 모션을 넣어줘. 부모 .rig가 2초 동안 x 900px를 power2.inOut으로 이동하고, 자식 .item은 같은 구간에서 y 6px와 rotation 2도를 sine.inOut으로 0.2초 반주기 yoyo, 10회 왕복해. 둘은 별도 tween이라 서로 값을 덮어쓰지 않게 해.
Add additive motion to the card in <target>. The parent .rig moves x 900px over 2 seconds with power2.inOut, while the child .item adds y 6px and 2 degrees of rotation with sine.inOut, yoyo half-periods of 0.2s, 10 times. Use separate tweens so neither overwrites the other.
<파일>에 additive motion을 구현해. .rig x 900 / 2s / power2.inOut, .item y 6 rotation 2 / 0.2s / sine.inOut / yoyo repeat 9. 0.5초, 1.3초, 2.3초를 캡처해 카드가 큰 경로를 따라가는 동안 흔들림이 유지되는지, 도착 후 흔들림이 0으로 돌아오는지 확인해.
Implement additive motion in <file>: .rig x 900 / 2s / power2.inOut, .item y 6 and rotation 2 / 0.2s / sine.inOut / yoyo repeat 9. Capture at 0.5s, 1.3s and 2.3s and verify the wobble persists along the main path and returns to 0 after arrival.
HyperFrames · ReelForge · Scrolline
개념 출처와 라이선스. 구현은 이 레포에서 새로 씀Concept sources and licenses. Implementations are original to this repo
gongnyang/reelforge:skills/reelforge/references/grammar/01-anchor-transform.md#null-parent-rig)Apache-2.0