AWESOME AI MOTION
효과Effects / 기본기Principles / Nº 024

상태 보간State Tween

State Tween
상태 보간
다른 이름Also known as · State-to-state property tween · 목표 상태 속성 보간 · MoveToTarget · State transition · 상태 전이 · Compound transform · 복합 변환
024
렌더 추가 예정CLIP COMING상태 보간State Tween정의·파라미터·프롬프트는 아래에 있다Definition, parameters and prompts are below
도판Fig. 024. 상태 보간 · State Tween · power2.inOut

위치·크기·회전·색이 저장된 다음 상태로 동시에 바뀌는 보간Position, size, rotation and color change together toward a saved next state.

01

무엇을 전하나What it tells

전달 효과ConveysCONVEYS
한 대상의 상태가 연속적으로 바뀌었다는 것을 읽게 한다Shows one object's state changing continuously.
언제 쓰나Use whenUSE WHEN
  • 카드가 접힘 상태에서 펼침 상태로 바뀔 때
  • 아이콘이 대기에서 활성으로 바뀔 때
  • 다이어그램 노드가 위치와 색을 함께 바꿀 때
  • When a card goes from collapsed to expanded
  • When an icon goes from idle to active
  • When a diagram node changes position and color together
과용 주의AvoidAVOID
  • 속성마다 같은 길이·이징을 쓴다(의도적 차이 제외)
  • 시작과 목표 상태를 코드에 명시
  • 색은 알파와 함께 보간
02

좋은 예와 나쁜 예Good and bad use

좋은 사례GOOD

노드가 x 0→420px, scale 1→1.3, rotation 0→15도, 색 파랑→노랑으로 0.8초 동안 함께 바뀐다

과용 · 나쁜 사례OVERUSE

속성마다 길이와 이징이 달라 각자 따로 움직이는 것처럼 보이거나, 목표 상태가 불명확하다

03

파라미터Parameters

기본값은 클립에 쓴 값Defaults are the values used in the clip

항목PARAM기본DEFAULT범위RANGE메모NOTE
길이0.8s0.5~1.2s모든 속성 공통
이징power2.inOutpower1~power3.inOutsmooth
목표 상태x, scale, rotation, color속성 2~4개한 번에 너무 많이 바꾸지 않는다
홀드0.6s0.4~1.0s도착 뒤 정지
GSAP
tl.fromTo('.node', { x: 0, scale: 1, rotation: 0, backgroundColor: '#2f6bff' }, { x: 420, scale: 1.3, rotation: 15, backgroundColor: '#ffc83d', duration: 0.8, ease: 'power2.inOut' }, 0.3);
04

에이전트 프롬프트Agent prompts

그대로 붙여 넣는다Paste as is

Claude Code

GSAP으로 <대상>의 상태 보간을 넣어줘. 0.3초부터 0.8초 동안 x 0→420px, scale 1→1.3, rotation 0→15도, backgroundColor #2f6bff→#ffc83d를 power2.inOut으로 동시에 바꾸고, 시작 상태를 fromTo에 명시해. 도착 뒤 0.6초 정지. paused 타임라인에 넣어.

Add a state tween to <target> with GSAP. From 0.3s over 0.8s change x 0 to 420px, scale 1 to 1.3, rotation 0 to 15 degrees and backgroundColor #2f6bff to #ffc83d together with power2.inOut, with the start state written in fromTo. Hold 0.6s after arrival. Paused timeline.

Codex

<파일>의 <대상>에 state-tween을 적용해. fromTo 시작 {x 0,scale 1,rotation 0,bg #2f6bff}, 목표 {x 420,scale 1.3,rotation 15,bg #ffc83d}, 0.8s, power2.inOut, position 0.3. 0.3초·0.7초·1.1초를 캡처해 모든 속성이 같은 비율로 진행하는지 확인해.

Apply state-tween to <target> in <file>. fromTo start {x 0, scale 1, rotation 0, bg #2f6bff} to {x 420, scale 1.3, rotation 15, bg #ffc83d}, 0.8s, power2.inOut, position 0.3. Capture at 0.3s, 0.7s and 1.1s to check all properties progress at the same ratio.

05

도구별로 쓰기In your tools

HyperFrames · ReelForge · Scrolline

HyperFramesVIDEO · GSAP
fromTo로 시작·목표 상태를 함께 적으면 seek 시 초기화가 확실하다. 색은 hex로 통일한다
ReelForgeBRIEF TO VIDEO
브리프에 상태 A/B를 속성 표로 싣고 길이는 한 값으로 공유한다
Scrolline DeckSCROLL SCRUB
scrub에서는 진행률 p가 A에서 B로의 보간 비율이다. 각 속성에 같은 ease-out을 적용
06

잘 맞는 조합Pairs well with

07

쓰이는 곳Used in

08

출처Sources

개념 출처와 라이선스. 구현은 이 레포에서 새로 씀Concept sources and licenses. Implementations are original to this repo