Reference · Deterministic 2D physics
STEPconstant
The length of the fixed step every game runs at, in seconds.
Import it
import { STEP } from "@johnmorrisdotca/karakuri/physics";
Definition
const STEP: number = 1 / 60
Examples
import { STEP } from "@johnmorrisdotca/karakuri/physics";
console.log(STEP);0.016666666666666666What it prints (run when this page was built)