Rack focus
Vista previa de Rack focus
Primitiva

Rack focus

@opus-motion-library/rack-focus

De Opus Motion Library

Focus pulls between a foreground, a subject and a background layer: blur follows depth, bokeh blooms, lens breathes.

Instalación

node cli/mgl.mjs add rack-focus --to <your-project>/src

Cuándo usarlo

Ideal para
Shifting attention from one thing to another in a still-image scene; cinematic reveals; product-then-environment shots; drama beats.

Especificaciones

Duración
150f · 5s
Tipo de duración
Fija
FPS
30
Estilo
cinematic
Licencia
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= 46

    blur at the furthest depth in u

  • breathingnumber= 1

    lens breathing amount (0 = none)

  • bokehboolean= true

    bokeh 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

Categorías