SpeedPresets
pixi-reels / index / SpeedPresets
Variable: SpeedPresets
const SpeedPresets: {
NORMAL: {
accelerationDuration: 300;
accelerationEase: "power2.in";
anticipationDelay: 450;
bounceDistance: 56;
bounceDuration: 600;
decelerationEase: "power2.out";
minimumSpinTime: 500;
name: "normal";
spinDelay: 100;
spinSpeed: 30;
stopDelay: 140;
};
SUPER_TURBO: {
accelerationDuration: 50;
accelerationEase: "power1.in";
anticipationDelay: 0;
bounceDistance: 14;
bounceDuration: 120;
decelerationEase: "power1.out";
minimumSpinTime: 100;
name: "superTurbo";
spinDelay: 0;
spinSpeed: 80;
stopDelay: 0;
};
TURBO: {
accelerationDuration: 200;
accelerationEase: "power2.in";
anticipationDelay: 250;
bounceDistance: 42;
bounceDuration: 200;
decelerationEase: "power2.out";
minimumSpinTime: 300;
name: "turbo";
spinDelay: 30;
spinSpeed: 50;
stopDelay: 0;
};
};
Defined in: config/SpeedPresets.ts:10
Built-in speed profiles covering common slot game needs.
Bounce values are tuned for the typical 120–200px symbol range. For larger
or smaller symbols, register a custom profile or override bounceDistance.
bounceDuration is the total time for the two-leg bounce (down then back).