greenhouse
Greenhouse
Target: Three.js 0.187.0, WebGPU renderer (three/webgpu) and TSL node materials (three/tsl); WebGPU only, no WebGL fallback, no GLSL strings. Everything is generated by code; no model files or textures.
A greenhouse is a working closed-loop machine that happens to be full of plants, not a garden conservatory. Everything in it exists to keep a crop alive: the pressure envelope, the airlock, the drained floor, the nutrient core, the lamps, the rows, the service walkways. Build those first; the greenery is the result.
scripts/greenhouse.js registers two procedural models, "Pressurised greenhouse dome" (greenhouse-dome) and "Hydroponic grow row" (grow-row), and exports a bay layout and a whole-greenhouse helper. It is written against the procedural-models kernel shipped with the pipes skill (procedural-models.js); copy both files into the project together. Distribution pipework is not modelled here: use the pipes kit, and meet it at the feed points the layout returns.
Vocabulary
Use these words consistently in code, object names and prose: