MotionScript

@motion-script/core


@motion-script/core / TwirlOptions

Interface: TwirlOptions

Defined in: attributes/shape/effects/chain.ts:439

Twirl / swirl vortex. Scalar shorthand sets angle.

Extends

Properties

angle?

optional angle?: number

Defined in: attributes/shape/effects/chain.ts:441

Rotation at the centre in degrees (default 180).


center?

optional center?: Vector2

Defined in: attributes/shape/effects/chain.ts:445

Vortex centre in 0–1 layer coords (default middle).


mode?

optional mode?: EffectMode

Defined in: attributes/shape/effects/effect-data.ts:83

Inherited from

EffectOptions.mode


radius?

optional radius?: number

Defined in: attributes/shape/effects/chain.ts:443

0–1 radius of influence (default 1 — the whole node).