Skip to content
Tactiverge

Engineering Code Lab · JavaScript in your browser

Code that measures, filters and controls.

32 short programming problems pulled straight from engineering: average a sensor, debounce a button, find a root, tune a PID loop, fit a calibration line. Each has starter code, automated tests (some hidden), hints that unlock one at a time, and an explanation once you solve it.

How the sandbox keeps you safe

  • runs in your browserNever on a server.
  • no networkThe sandbox cannot fetch, post or open sockets.
  • 3 s limitInfinite loops are stopped, not frozen.
  • nothing uploadedDrafts stay in this browser.

How it works

  1. Write in the editor: Tab indents, Ctrl/⌘ + Enter runs.
  2. Run to see console.log output, line charts from plot(xs, ys, "label"), or a step-by-step sorting and searching visualiser.
  3. Check to run the visible and hidden tests. Hidden tests show pass or fail, never the expected answer.
  4. Stuck? Hints unlock one at a time. Nothing is timed and nothing is ranked.