DEFAULT\_ANTICIPATION
pixi-wheels
pixi-wheels / index / DEFAULT_ANTICIPATION
Variable: DEFAULT_ANTICIPATION
const DEFAULT_ANTICIPATION: {
approachDeg: 45;
creepSpeed: 40;
dwellMs: 600;
hesitateSpeed: 2;
pushMs: 700;
rest: {
creep: 0.22;
stall: 0.15;
stutter: 0.22;
};
};
Defined in: config/defaults.ts:66
Timing and rest of a near-miss when AnticipationOptions leaves them out.
Type Declaration#
| Name | Type | Default value | Description | Defined in |
|---|
approachDeg | 45 | 45 | - | config/defaults.ts:71 |
creepSpeed | 40 | 40 | - | config/defaults.ts:67 |
dwellMs | 600 | 600 | - | config/defaults.ts:69 |
hesitateSpeed | 2 | 2 | - | config/defaults.ts:68 |
pushMs | 700 | 700 | - | config/defaults.ts:70 |
rest | { creep: 0.22; stall: 0.15; stutter: 0.22; } | - | Fraction of the target’s arc between the shared divider and the resting pointer, per style. | config/defaults.ts:73 |
rest.creep | 0.22 | 0.22 | - | config/defaults.ts:73 |
rest.stall | 0.15 | 0.15 | - | config/defaults.ts:73 |
rest.stutter | 0.22 | 0.22 | - | config/defaults.ts:73 |