Remoogle
Effector Field
Effector Field のプレビュー
基本アニメーション

Effector Field

@remotionui/effector-field

提供元 RemotionUI

Cinema 4D MoGraph cloner and effectors: clone any element into a grid, radial or linear arrangement and let animatable spherical, linear or noise falloff fields drive each clone

インストール

npx remotion-ui@latest add effector-field

Props(14)

  • layout*ClonerLayout

    grid, honeycomb, radial (count, radius, sweep, align) or linear (count, step, rotationStep, scaleStep).

  • effectorsEffector[]= []

    { fields?, position [x,y,z], scale, rotation [x,y,z], opacity, color, strength }, run in order.

  • widthnumber= 800

    Stage width in px.

  • heightnumber= 450

    Stage height in px.

  • cloneSizenumber= 18

    Size of each clone's box.

  • colorstring= "#f4f4f5"

    Clone colour before tints; children can use currentColor.

  • childrenReactNode

    Element to clone, painted in currentColor. Defaults to a rounded tile.

  • renderClone(clone: CloneRenderState) => ReactNode

    Per-clone renderer; receives weight, index, u/v and the tinted colour.

  • perspectivenumber= 1400

    Camera distance for z moves and x/y rotation.

  • tiltnumber= 0

    Tilts the cloner plane away from the camera, degrees.

  • renderer"dom" | "canvas"= "dom"

    dom clones any React child; canvas draws cloneShape with the same camera, for thousands of clones.

  • cloneShape"square" | "rounded" | "circle"= "rounded"

    Canvas renderer only: the drawn shape.

  • glownumber= 0

    Canvas renderer only: bloom radius in px at full field weight.

  • framenumber

    Render this frame instead of the current one.

依存コンポーネント

npm パッケージ

カテゴリ