pixi-reels

CurveMode

pixi-reels


pixi-reels / index / CurveMode

Type Alias: CurveMode

type CurveMode = "symbol" | "warp";

Defined in: core/ReelCurve.ts:68

How the curve is drawn.

  • 'symbol' (default). Project each cell alone. Crisp, free, a real keystone - but only for content that IS a texture, because a Container transform is affine and can displace a Spine skeleton without bending it.
  • 'warp'. Render each reel to a texture, draw it through a mesh whose VERTICES are displaced. Everything inside bends, no symbol cooperates. Costs one render pass per reel per frame and one resample.