WheelTemplates
pixi-wheels / index / WheelTemplates
Variable: WheelTemplates
const WheelTemplates: {
debug: WheelConfig;
dynamicJackpot: WheelConfig;
gamble: WheelConfig;
gambleDynamic: WheelConfig;
jackpots: WheelConfig;
multipliers: WheelConfig;
twoRing: WheelConfig;
};
Defined in: core/templates.ts:14
Ready-made wheel configs for the common shapes. Each is a plain
WheelConfig: load one into WheelBuilder.fromConfig(), or copy the
JSON into the studio and tune it there.
Type Declaration#
| Name | Type | Description | Defined in |
|---|---|---|---|
debug() | () => WheelConfig | Twelve equal sections in the debug skin: for wiring and tests. | core/templates.ts:175 |
dynamicJackpot() | () => WheelConfig | The studio brief: jackpot sections whose arcs move step by step, as a purely cosmetic state, with the titles following the middle of each. | core/templates.ts:112 |
gamble() | () => WheelConfig | Two halves, red and green, as a gamble wheel. | core/templates.ts:16 |
gambleDynamic() | () => WheelConfig | The same two colours whose split moves step by step: the green share grows or shrinks as the round goes on. A dynamic-section gamble. | core/templates.ts:42 |
jackpots() | () => WheelConfig | Four jackpot tiers; the small ones wide, the grand a sliver. | core/templates.ts:81 |
multipliers() | () => WheelConfig | Multipliers with unequal arcs: the big ones are thin. | core/templates.ts:59 |
twoRing() | () => WheelConfig | An outer ring of tiers and an inner ring read by an inward-facing pointer. | core/templates.ts:129 |