pixi-reels

DebugOverlayLayer

pixi-reels


pixi-reels / index / DebugOverlayLayer

Type Alias: DebugOverlayLayer

type DebugOverlayLayer = 
  | "mask"
  | "cells"
  | "buffers"
  | "axis"
  | "feed"
  | "thresholds"
  | "bounds"
  | "blocks"
  | "pins"
  | "hud";

Defined in: debug/debugOverlay.ts:27

A single visual debug layer.

  • mask Mask bounding box + per-reel rects.
  • cells Every visible cell from getCellBounds, with reel,cell labels.
  • buffers The off-window strip cells (bufferStart / bufferEnd), dimmer.
  • axis One arrow per reel along the travel axis, pointing the way it goes. The whole point of the v2 refactor is invisible in a canvas otherwise: reverse polarity and horizontal orientation become obvious instead of inferred.
  • feed A marker on the strip edge new symbols enter from. Confirms feedEdge derives from polarity rather than being set twice.
  • thresholds The wrap lines. a symbol crossing one wraps to the other end of the array (contract law L7 / L9, watchable).
  • bounds Actual view.getBounds() per visible symbol (spine overrun).
  • blocks getBlockBounds outline for big symbols.
  • pins Pin cells and pin-overlay positions.
  • hud Per-reel text: orientation, direction, speed, phase, cells.