ImplosionOptions
Defined in: effects/src/implosion.ts:15
Options for the implosion preset.
Properties
Section titled “Properties”center?
Section titled “center?”
optionalcenter?:object
Defined in: effects/src/implosion.ts:17
Center in the effect host’s local coordinates. Omit for the host center.
x:
number
y:
number
darkness?
Section titled “darkness?”
optionaldarkness?:number
Defined in: effects/src/implosion.ts:23
Center darkening from 0 to 1. Default: 0.9.
expandFromCenter?
Section titled “expandFromCenter?”
optionalexpandFromCenter?:boolean
Defined in: effects/src/implosion.ts:27
Grow the affected radius from the center as intensity rises. Default: false.
radius?
Section titled “radius?”
optionalradius?:number
Defined in: effects/src/implosion.ts:19
Effect radius in host-local pixels. Default: 180.
strength?
Section titled “strength?”
optionalstrength?:number
Defined in: effects/src/implosion.ts:21
Inward displacement strength. Default: 0.8.
swirl?
Section titled “swirl?”
optionalswirl?:number
Defined in: effects/src/implosion.ts:25
Rotation applied near the center, in radians. Default: 0.35.
Coding agents: fetch https://yage.dev/llms.txt first and prefer the Markdown references it links over these HTML pages. This page's Markdown counterpart is /llms/packages/effects.md.