
기본 애니메이션
Rack focus
@opus-motion-library/rack-focus
Focus pulls between a foreground, a subject and a background layer: blur follows depth, bokeh blooms, lens breathes.
설치
node cli/mgl.mjs add rack-focus --to <your-project>/src사용 상황
- 추천
- Shifting attention from one thing to another in a still-image scene; cinematic reveals; product-then-environment shots; drama beats.
사양
- 길이
- 150f · 5s
- 길이 유형
- 고정
- FPS
- 30
- 스타일
- cinematic
- 라이선스
- MIT
Props (10)
backSrcstring= ""background picture (empty = procedural)
subjectSrcstring= ""transparent PNG subject (empty = procedural figure)
frontSrcstring= ""transparent PNG foreground (empty = procedural blades)
focusKeysarray= [[0,0.5],[30,0.5],[60,0],[90,0],[122,1]][frame, focus] keys: 0 = foreground, 0.5 = subject, 1 = background
maxBlurnumber= 46blur at the furthest depth in u
breathingnumber= 1lens breathing amount (0 = none)
bokehboolean= truebokeh discs bloom on the blurred background
palettearray= ["#ff7a59","#6a4cff","#14b8a6","#ffd166"]colours for procedural layers / bokeh
accentstring= "#ffd166"procedural subject accent
backgroundstring= "#000000"base colour