API reference
DebugOverlayLayer
pixi-reels / debug / DebugOverlayLayer
type DebugOverlayLayer =
| "mask"
| "cells"
| "buffers"
| "axis"
| "feed"
| "thresholds"
| "bounds"
| "blocks"
| "pins"
| "hud"
| "metrics"
| "timeline";
Defined in: debug/debugOverlay.ts:43
A single visual debug layer.
maskMask bounding box + per-reel rects.cellsEvery visible cell fromgetCellBounds, withreel,celllabels.buffersThe off-window strip cells (bufferStart / bufferEnd), dimmer.axisOne 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.feedA marker on the strip edge new symbols enter from. ConfirmsfeedEdgederives from polarity rather than being set twice.thresholdsThe wrap lines. a symbol crossing one wraps to the other end of the array (contract law L7 / L9, watchable).boundsActualview.getBounds()per visible symbol (spine overrun).blocksgetBlockBoundsoutline for big symbols.pinsPin cells and pin-overlay positions.hudA plaque above the mask: one row per reel with its orientation, direction, feed edge, speed, phase and cells, a phase-colored swatch and a speed meter.metricsA plaque under the mask: the current round’s length, time to the first stop, landing order, tease and skip windows, symbols swapped into cells, events, fps.timelineA panel under the mask: every reel’s phases for the current round on one time axis, with its speed trace, the moment it was asked to stop, the moment it landed and every skip press.