Clockyard
Clockyard is an open-source, browser-based sandbox for building computers from their first pulse. You wire up logic gates, combine them into adders, registers and memory, assemble a programmable CPU, then write a program and watch your own hardware run it one clock edge at a time.
- Period
- November 2026–Present
- Domain
- Digital logic · Computer architecture
- Tools
- Rust · WebAssembly · TypeScript · React · PixiJS
From gates to a computer
Circuits are built from switches, gates and LEDs, then buses, custom components, clocks, flip-flops, RAM and ROM. An 8-bit reference CPU ships with its own assembly language, and a keyboard, screen and hex display mapped into its memory. Catch, a small game, runs on it.

The engine is the source of truth
A Rust engine compiled to WebAssembly runs in a Web Worker. It validates the circuit document, elaborates it into a flat netlist of primitive components and simulates it; the React and PixiJS interface only renders what the engine reports. A CPU you build runs through its simulated components and wires, never a hidden software emulator.

Local and shareable
Everything runs in the browser, with no accounts or servers. A circuit can be shared as a file or as a link that carries it whole. Next on the roadmap is the computer-building sandbox, where you design the CPU yourself.
