Reference · Cube engine and views
REPLAY_SPEEDSconstant
The speeds a replay offers: the solve's own pace, half, a quarter and a tenth of it.
Import it
import { REPLAY_SPEEDS } from "@johnmorrisdotca/kyuubu";
Definition
const REPLAY_SPEEDS: readonly [1, 0.5, 0.25, 0.1] = [1, 0.5, 0.25, 0.1] as const
Examples
import { REPLAY_SPEEDS } from "@johnmorrisdotca/kyuubu";
console.log(REPLAY_SPEEDS);[ 1, 0.5, 0.25, 0.1 ]What it prints (run when this page was built)