
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-fieldProps (14)
layout*ClonerLayoutgrid, 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= 800Stage width in px.
heightnumber= 450Stage height in px.
cloneSizenumber= 18Size of each clone's box.
colorstring= "#f4f4f5"Clone colour before tints; children can use currentColor.
childrenReactNodeElement to clone, painted in currentColor. Defaults to a rounded tile.
renderClone(clone: CloneRenderState) => ReactNodePer-clone renderer; receives weight, index, u/v and the tinted colour.
perspectivenumber= 1400Camera distance for z moves and x/y rotation.
tiltnumber= 0Tilts 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= 0Canvas renderer only: bloom radius in px at full field weight.
framenumberRender this frame instead of the current one.