t→t+1
Documentation

Editor

Controls

Navigate time, presentation, camera, and simulation parameters without changing source code.

Transport

Play or pause, step backward or forward, jump 100 steps, reset, toggle sound, and cycle playback speed from 0.25× to 8×.

Player

Enter fullscreen, select performance, medium, or ultra quality, and toggle performance, annotations, or parameter HUDs.

Camera

Orbit, pan, and zoom with pointer controls. In non-game 3D scenes, W/A/S/D moves horizontally and Q/E moves vertically.

Keyboard

Space or K toggles playback. Left and right arrows step while paused. Simulation code also receives keydown and keyup events.

Parameter controls

Declare sliders or toggles in parameters_ui. The editor writes changes to the matching runtime parameter key.

{
  "parameters_ui": [
    {
      "key": "gravity_y",
      "label": "Gravity",
      "min": -20,
      "max": 0,
      "step": 0.1,
      "group": "Physics",
      "control": "slider",
      "resetMode": "none"
    }
  ]
}