Skip to content

Type Alias: WarmupPhase

ts
type WarmupPhase = "collecting" | "surface" | "atmosphere" | "cursor" | "done";

Discrete phases reported by BodyBase.warmup. Stable across versions — callers may switch on these codes to map them to their own i18n strings or progress UX.

  • 'collecting' : signal the warmup has started (synchronous, almost instantaneous — meshes are gathered into transient scenes).
  • 'surface' : sol shaders compile (smooth display mesh + interactive sol mesh + opaque core mesh + body-hover ring).
  • 'atmosphere' : atmospheric shaders compile (atmo halo shell + playable atmo board). Skipped on bodies without an atmosphere and on stars.
  • 'cursor' : hover-cursor shaders compile (cap ring, floor ring, emissive light). Skipped when the body was built with no cursor primitives.
  • 'done' : terminal — every program is ready, the body is safe to render in the next frame without freeze.

Distribué sous la licence indiquée dans le dépôt.