A fence you can build before you buy it
See your fence before you order it. Snap the pieces together and get a list of every part you need.
- 3D
- Three.jsA JavaScript library that draws 3D scenes in the browser with WebGL.
- Rendering
- React Three FiberLets React describe a Three.js scene as components.
- State
- ZustandA small state library for React.
- Build
- ViteA fast build tool and dev server for web apps.

What it is
A 3D editor for composing things out of parts. Pick a post, a picket span, a gate, a wicket or a letterbox column, and each one attaches to the one before it. Change a gate’s width, anywhere from 4 to 6 metres, and everything attached to it moves along. A tree and a few bushes set the scene.
Under the scene, a cut list counts every part the fence would be made of, and a diagnostics panel shows each edit the editor accepted or refused.
Why I built it
Ordering a fence means guessing from a catalogue: how the parts fit together, what the whole thing will look like, how many of each piece to buy. I wanted to see whether a browser could answer all three at once: build the fence in 3D from real parts, and count what it takes.
Under the fence is a general engine: parts defined by their shape, attached to one another, kept in step as you edit. Nothing in it knows about fences, so the same engine could compose shelving or a deck.