Reference · Rockets, variants, parts and the fit check
MotionKindtype
What a moving group does: spin turns without end at rate degrees a second; swing goes from rest to to and back, with holds; sweep goes from from to to and back like a pendulum; slide moves along its axis from from to travel metres and back, on the same holds as a swing.
Import it
import type { MotionKind } from "@johnmorrisdotca/uchusen-rockets";
Definition
type MotionKind = "spin" | "swing" | "sweep" | "slide";
Examples
import type { MotionKind } from "@johnmorrisdotca/uchusen-rockets";
const kind: MotionKind = "spin";
console.log(kind);spinWhat it prints (run when this page was built)