Back to all projects
Finished v1.0|Sep 8, 2026 |AI Projects

3D Product Configurator — Impact Screen Builder

A salesperson types in a room's width, height, and depth. The app sizes the impact screen, the projected image, and the trim from the production rules, then builds the whole installation in 3D — every stud, every grommet, every bungee and hook placed where it will actually go — and prints a three-page report they can attach to a quote. It runs entirely in a browser tab, with nothing sent to a server.

TypeScriptThree.jsBlenderAI-BuiltVitepdf-libProduct Tool
Impact Screen Builder — the real build, running here Open full screen ↗

Left drag orbits, right drag pans, the scroll wheel zooms. Change the room dimensions, flip the aspect ratio, or switch off the trim to look at the mounting hardware behind it — everything re-solves live. Hovering any part fades it to 60% so you can see what sits behind it.

01The Problem

Par2Pro builds custom impact screens for golf simulators — the big tensioned fabric panel a projector throws onto and a golf ball slams into at a hundred and fifty miles an hour. Every one is sized to the room it goes into, and the sizing came out of a spreadsheet: enter the room, read back a finished screen size, a projectable area, a trim spec. That part worked.

Everything after it did not. The spreadsheet produced numbers, not a picture, so the mounting system — a wood stud frame, slotted angle iron, grommets punched around the fabric, a chain of bungees hooking the screen to the iron, eye straps and floor ropes at the bottom — had to be explained on the phone, sketched by hand, or learned by installing one. Customers asked how much space they needed behind the screen and got an estimate. Quotes came with a number and no drawing.

So the brief was simple to say and awkward to build: take the same inputs the spreadsheet takes, and give back the whole installation. Not a render of a screen — a model with every real part in its real place, dimensioned, togglable, and printable. And it had to run on a laptop in a showroom with no install, no login, and no internet.

  • InputsProduct, room W/H/D, frame position, standoff, aspect ratio, trim
  • OutputsFinished screen, projected image, trim sizes, full hardware count
  • Parts placed18 distinct components, hundreds of instances per build
  • RuntimeStatic client-side page — nothing leaves the machine

02Rules Before Pixels

The temptation with anything 3D is to open a scene and start placing boxes. I did the opposite. The first thing built was a folder of pure TypeScript that knows nothing about Three.js, nothing about the browser, and nothing about rendering — just the production rules, as functions.

That layer holds the dimension calculator (the A and B frame measurements, the aspect-ratio maths, the quarter-inch rounding the shop actually uses on image and trim sizes), the hardware solver, the full part layout, the dimension-line geometry, and the bill of materials. It is the only place a production rule is written down, and every number the UI shows comes out of it.

Keeping it browser-free had one very practical payoff: it is unit-testable. Thirty-five tests check the worked example from the production calculator figure by figure, then check the solver's invariants across the entire product range — that grommet pitch stays inside its limits, that every hook lands on the slot grid, that the bungee chain keeps its overlap, that no two hooks ever claim the same slot, and that nothing ends up outside the angle iron. When a rule changed, the tests told me in a second whether anything downstream broke. Constants that may change in the shop — pitch limits, hook overlap, span limits, product height caps — all live in one file.

The rule that saved the project: if a number appears on screen, it must come from the tested core, never from the view. It sounds obvious. It is also exactly what stops a 3D app from slowly drifting away from the spreadsheet it is supposed to replace.

03Modeling the Parts

Every physical component is a real mesh, modeled in Blender and exported as its own GLB: the 2×4 stud, the slotted angle iron chunk, the grommet, the screen loop, the velcro strip, three varieties of zip tie, the bungee start and repeat segments, four hook variants, the eye strap, and the floor rope knot. Eighteen parts in all.

They are authored to a strict convention — object at the origin, +Y up, modifiers applied, no Draco compression, and geometry built in inches in what the spec calls the "left edge reference pose." That convention is the contract between the modeling and the code: the layout solver emits positions in edge-local inches, and the renderer turns those into matrices. Because the parts all agree on it, replacing a part is dropping a new GLB into the models folder. No code changes.

Only one part is not modeled. The velcro strip is generated procedurally at runtime, because the exported mesh carries reference-pitch holes that stop lining up the moment the strip is scaled to a different screen width — a nice illustration of when a mesh is the wrong tool and a function is the right one.

The configurator with the screen and trim hidden, showing the stud frame, angle iron, grommets, bungees and hooks
Fig. 1Hide the fabric and the trim and the real mounting system is underneath — this is what installers actually need to see.

04Placing the Hardware

This was the hard part, and it is the part that makes the tool worth building. Anyone can draw a rectangle at the right size. Placing the hardware correctly means answering questions the spreadsheet never asked.

Grommets have to be spaced evenly around the fabric, but the spacing is not free — it has to fall inside a pitch range, and the corner grommets have to be shared between adjacent edges rather than doubled up. The solver computes the count from the edge length, pins the last grommet exactly, and distributes the rest.

The bungee chain is harder still, because the hooks cannot go wherever they like. They clip into a slotted angle iron, so every hook must land on the 0.75-inch slot grid. Snap each hook independently to the nearest slot and the chain either drifts away from the grommet pitch or oscillates around it, looking wrong in both directions. The solution was to treat each bungee as a unit: place its upper hook at the ideal slot for its grommet, then put the lower hook at the fixed overlap distance from that one. The chain tracks the grommet pitch and the rounding error never accumulates.

Two more details that only show up in the real world. The right edge is not modeled separately — it is a mirrored copy of the left edge, placed under a group with a negative-determinant transform so the renderer flips triangle winding for the whole assembly rather than turning every part inside out. And the top edge is the left edge rotated onto the top stud. One edge solved properly gives you all three.

Angle iron is tiled with unscaled three-inch chunks, because stretching a slotted part would stretch the slots with it and the whole point is that the slots are a fixed grid. The leftover remainder at the end of a run is a separate mesh cut by a clipping plane — cut, not squashed.

05Drawing It Fast

A full build is roughly six hundred thousand triangles, and it has to orbit smoothly on an ordinary sales laptop with integrated graphics. The answer is instancing: one instanced mesh per part type per side, which collapses hundreds of grommets and bungee segments into a handful of draw calls. The entire assembly plus the room renders in about forty draw calls.

Two more things keep it responsive. The renderer only draws when the camera or the scene actually changes — an idle configurator costs nothing. And the room planes are single-sided facing inward, so they hide themselves the moment the camera orbits outside them, which means you can swing around to look at the back of the frame without manually turning walls off. That one behaviour removed an entire row of toggles from the interface.

The configurator showing a much wider room with the screen and hardware resized accordingly
Fig. 2Change the room and the whole assembly re-solves — grommet count, bungee count, and angle-iron length all follow the rules.

06Dimensions & Views

A 3D model is persuasive; a dimensioned drawing is useful. The app carries a dimension layer that draws measured spans with labelled bubbles at the middle of each run — room width, height and depth, the finished screen, the projected image, the trim. The lines render with depth testing off so they stay readable through geometry, and the labels are HTML elements projected onto the scene, which keeps the text crisp at any zoom instead of pixelating like a texture would.

Dimension groups toggle independently from the part layers, so you can show only the image sizes, or strip the dimensions entirely for a clean sales render. There are three cameras: an orbiting 3D view, an orthographic front elevation that switches the dimensions into a proper drawing-style stacked layout, and a top view for checking the standoff behind the screen.

The front elevation view with stacked dimension lines for image width, screen width and room width
Fig. 3The front elevation reads like a shop drawing — stacked dimension runs, trim called out separately from the image.
The top-down orthographic view of the configured room
Fig. 4Top view — the fastest way to check the standoff clearance behind the screen.

07The Report

The output that actually travels is a PDF, generated in the browser with no server round trip. Page one is the 3D view with its dimension bubbles and a specification table. Page two is the front elevation with stacked dimensions and the hardware summary. Page three is a to-scale 2D layout of the screen itself — fabric, velcro runs, grommet positions, the projected image, and the trim layout when trim is switched on.

The two 3D pages are rendered off-screen through a snapshot path that restores the interactive camera afterwards, so taking a report never disturbs what the user was looking at. The dimension bubbles are not screenshotted — they are drawn as real vector text at the projected label anchors, which is why they stay sharp when someone zooms into the PDF or prints it at A3. Customer name and order number print on the report and are deliberately never stored in the shareable link.

08Shipping It to Non-Developers

A tool that needs a terminal is a tool the sales team will not use. This was the requirement I spent the most disproportionate effort on, and I would do it again.

There is a single file to double-click. It starts a local server, opens the app in its own window, and shuts the server down again when that window closes. On a machine with no Node.js installed it quietly downloads a portable copy into a subfolder on first run and uses that. A second file packages the whole thing into a dated zip that a colleague can unzip anywhere and run the same way.

For a hosted deployment it is just a static folder — the build output drops onto any static host, and the repository carries ready-made security headers for the common ones. Because the app is entirely client-side there is no backend to secure, no database to run, and no per-seat cost.

09How AI Actually Built This

Essentially all of the code in this project was written by a large language model. That sentence gets misread in both directions, so here is what it actually means in practice.

What I did was the part that determines whether the thing works: I wrote the specification. There is a source-of-truth spec document in the repository that defines the coordinate frames, names every part and its anchor point, states the production rules and their rounding, and fixes the conventions the Blender exports must follow. The code follows that document, and when the code and the document disagreed, the document won. I modeled every part in Blender myself, because the geometry is the specification for anything that has to physically fit.

The leverage came from working in small, verifiable units. A pure core with tests meant I could ask for a solver change and know within seconds whether it had broken the chain overlap or put two hooks in the same slot. Problems that are easy to state and hard to type — mirroring an assembly without inverting its normals, cutting a tiled part with a clipping plane, projecting label anchors into PDF space — are exactly where this way of working is fastest.

And the limits were just as instructive. The model could not tell me that stretching a slotted part was wrong; only knowing the product does that. It could not decide that the room walls should hide themselves instead of adding another toggle. The judgement about what to build, which rule governs, and when an output is wrong rather than merely different stayed with me throughout — which is, I think, the honest description of what building with these tools is like.

10Status & Next Steps

The builder is finished and in use. It covers both products in the Custom SQ stud-frame range, reproduces the production calculator exactly on the worked example, and produces the three-page report. The full check — typecheck, unit tests, production build — runs as one command, and the portable copy has been handed to people who have never opened a terminal.

Things I would add next, in the order I would add them:

  • The other frame variants. The stud-frame build is done; the same core and part library should cover the free-standing and ceiling-hung mounting systems with new layout rules rather than new code.
  • Live pricing in the report. The hardware summary already counts every part, so attaching a price table turns the spec sheet into a quote without a second tool.
  • A saved-configuration list. The URL already carries the whole configuration; naming and storing those locally would give the sales team a job history.

The build embedded on this page is the real application. The part models and the production rules belong to Par2Pro; the code and models are not licensed for reuse.