Skip to content

IrisRevealOptions

Defined in: renderer/src/transitions/irisReveal.ts:13

optional center?: object

Defined in: renderer/src/transitions/irisReveal.ts:22

Iris center in virtual-space pixels. Default: virtual-space center. The maximum radius is the distance from this point to the farthest corner of the virtual rect, so the iris always fully covers the canvas at t = 1.

x: number

y: number


optional duration?: number

Defined in: renderer/src/transitions/irisReveal.ts:15

Iris duration in seconds. Default: 0.6.


optional easing?: EasingFunction

Defined in: renderer/src/transitions/irisReveal.ts:24

Easing function applied to the radius. Default: easeLinear.

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/renderer.md.