Runs in your browser. Best in Chrome or Edge with WebGPU; other browsers use the WebGL fallback automatically. Desktop with a keyboard and mouse recommended.

Pebble Garden

A physics sandbox and level editor. Place pieces on a sand garden with the mouse, move, rotate and scale them with a gizmo, set their colour and body type, then press Play to simulate and press it again to rewind exactly. Every garden is a Pebble3D scene: Export writes schema-valid scene JSON, and Import opens any scene JSON with readable error messages. A human can build what an agent writes, and the reverse.

Controls

Click tray, click sand
Place a piece (Shift keeps placing)
1–0
Pick one of the ten palette pieces
G / R / S
Move, rotate or scale gizmo
Q / E
Turn the selection 15°
Arrows, Page Up / Down
Nudge 0.25 m
Delete, Ctrl D
Delete, duplicate
Ctrl Z, Ctrl Shift Z
Undo, redo
Space
Play, and again to rewind
X, I
Export, import
Drag, right-drag, wheel
Orbit, pan, zoom

Screenshots

Pebble Garden: the Rock Garden sandbox with a selected piece, its gizmo and the inspector panelDomino Terrace: a ball rolls into a row of dominoes towards the bowlThe import panel listing schema errors with field paths, lines and suggestions