pixi-wheels

PegConfig

pixi-wheels


pixi-wheels / index / PegConfig

Interface: PegConfig

Defined in: config/types.ts:374

The pegs a tongue touches: small circles on the disc, one per divider by default. They give the pointer flap its physics and the debug overlay draws them; a skin may draw them too (GraphicsRingSkin pegs).

Properties#

PropertyTypeDescriptionDefined in
angles?number[]Local angles of the pegs, degrees. Default every divider, so dynamic sections keep their pegs on the lines.config/types.ts:380
inset?numberHow far inside the rim the peg centres sit, px. Default 9: under a default tongue tip (tipInset 18).config/types.ts:378
size?numberPeg radius, px. Default 6.config/types.ts:376