Pergola Studio
A 3D designer for aluminium pergolas. The customer builds a pergola from scratch or from 26 templates, sees an indicative price straight away and downloads the finished design as PDF documentation. It is live — I built it as a showcase for pergola manufacturers.
The brief
I set the brief myself: show pergola manufacturers what a configurator can look like — one where the customer designs the pergola right in the browser, sees it in 3D from every side and knows at once roughly what it will cost. And the design should turn into an enquiry a manufacturer can act on.
The solution
The pergola model is fully parametric — posts, beams, louvres and roof planes are computed from the dimensions, so changing the width by a centimetre redraws the whole structure. You can set the floor plan (rectangle, L or U), four roof types, coverings, finishes, shading on each side and lighting; the evening mode actually switches the lights on. Thirty pieces of furniture and plants can be dragged onto the terrace, and you can walk under the pergola at eye level.
The price is recalculated on every change and expands into line items. A design can be shared by link and downloaded as a PDF with visualisations, an itemised price, a foundation drawing and an indicative technical report. After signing in, designs are saved to the account as projects.
Inside it is React with three.js and TypeScript; accounts run on a small Node server with SQLite. Correctness is guarded by 58 unit tests and twelve scenarios that click through the whole application in a browser — on desktop and on mobile.
The outcome
It runs publicly at pergola.matyasamler.cz — open it and try it straight away, no sign-up needed. It is a showcase, not a shop: prices are indicative and the technical calculation is a preliminary design that does not replace a structural engineer. It needs no paid services and no third-party API.
What I learned
That it pays to keep the whole design as a single set of parameters. The price, the 3D model, the share link and the PDF are then all computed from the same numbers and cannot drift apart.