debugOverlay()
pixi-wheels / index / debugOverlay
Function: debugOverlay()
function debugOverlay(wheel: Wheel, options?: DebugOverlayOptions): DebugOverlayHandle;
Defined in: debug/debugOverlay.ts:127
Draw the wheel’s invisible geometry over it: dividers with their angles, pointer markers with the local angle under them, the pegs and the tongue’s contact, the planned landing angle, and a HUD panel per ring. Everything a developer stares at the canvas to guess is written out, at a readable size whatever scale the wheel is drawn at.
Parameters#
| Parameter | Type |
|---|---|
wheel | Wheel |
options | DebugOverlayOptions |