{"params":{"colorway":{"type":"choice","default":"weathered-yard","label":"Colorway","describe":"Curated scheme for the whole bay, from the kit's fresh 2026-10-19 palette. weathered-yard (default, as the kit concept draws it): khaki-grey weathered sleepers, rust-orange uprights, warm grey setts with dark grey joints, green and dried-gold weeds. fresh-creosote: dark brown creosoted sleepers and dark iron uprights over grey setts, a newly built bay. silver-sleepers: pale silvered sleepers over near-white setts. pale-granite: honey-brown timber, dark brown uprights and near-white granite setts with dark joints. blue-setts: the default walls over the blue-grey setts of the kit's cattle dock, so a goods yard paves alike. Colour pickers win over the colorway.","options":["weathered-yard","fresh-creosote","silver-sleepers","pale-granite","blue-setts"]},"coal":{"type":"choice","default":"half","label":"Coal","describe":"How much coal the bay holds. empty (default, as the kit concept draws the bay): the coal has been taken (the harvested state): a swept floor with dark coal-dust stains on the setts and a few small lumps along the back wall and in the corners. half: a heap banked against the back wall, about 0.58 of the wall height (1.05 m at the default walls) with two humps, chunky glossy black lumps on it and a few lumps rolled onto the setts in front of its toe. full: a faceted mound brimming level with the wall tops along the back and sides, sloping down to a toe just inside the open front, covering almost the whole floor. Coal never crosses a wall. Walls, posts and slab are unchanged.","affects":"geometry","options":["empty","half","full"]},"sideWalls":{"type":"choice","default":"one","label":"Side walls","describe":"How many side walls stand beside the back wall. one (default, as the kit concept draws the bay): the back wall and the -x side wall, open to the front and to +x, so a row of bays laid along x shares one sleeper wall between neighbours and the end of the row stays open. two: the back wall and both side walls, a three-sided bay whose flat outer faces on x = +/-2 butt against any neighbour. Each side wall carries uprights at its back corner, middle and front end; the back wall, slab and coal are the same either way.","affects":"geometry","options":["one","two"]},"wallHeight":{"type":"range","default":1.8,"label":"Wall height","describe":"Nominal height of the sleeper walls above the ground, rebuilt rather than stretched: the sleepers and uprights are cut to the new length, while board width and thickness, the post section, the 4 x 4 m footprint, the slab and the size of the steps in the uneven sleeper skyline stay the same. 1.4 is a low bin a man can shovel over, 1.8 (default) the usual bay, 2.2 a tall bay. Full coal follows the wall tops; the half heap rises to about 0.58 of the wall height over the same spread of floor.","affects":"geometry","min":1.4,"max":2.2,"step":0.1},"arrangement":{"type":"range","default":3,"label":"Arrangement","describe":"Which deal of the old sleepers and the loose coal this build is. Each value re-deals every sleeper's height and slope (so the skyline differs), which sleeper tops split under wear, the tilt of every sett, the humps and lobes of the heap, where every coal lump lies, the dust patches and where weed tufts root. Size, coal state and footprint stay the same, so a row of bays never repeats.","affects":"geometry","min":1,"max":9,"step":1},"wear":{"type":"range","default":0.4,"label":"Wear","describe":"0 freshly painted and new, 1 old and weathered: faded paint, dirt, rust and small chips; the object itself never changes.","affects":"geometry","min":0,"max":1,"step":0.1},"tone":{"type":"range","default":0.55,"label":"Tone variation","describe":"How far each sleeper and each sett drifts from its base colour, as separately sawn sleepers and separately quarried setts do. 0 is a uniform machine-made surface, 0.35 a normal batch, 1 a deliberately mixed reclaimed one. Uprights, coal, dust and weeds never vary. Changes no geometry at any value.","min":0,"max":1,"step":0.05},"sleeper":{"type":"color","default":"#7c766b","label":"Sleepers","describe":"Albedo of the sleeper timber, the dominant colour: every sleeper in the back and side walls, faces, tops and split ends. Wear below 0.3 darkens it toward fresh dark-brown creosote (wear 0 is a newly built bay), above 0.3 bleaches it toward silvered grey. Wear also splits sleeper tops into a V: none at 0, five at 0.3, nine at 1."},"rust":{"type":"color","default":"#896038","label":"Uprights","describe":"Albedo of the rusted I-section uprights (the back wall's two ends and middle, and the middle and front end of each side wall). Wear below 0.3 turns them toward freshly painted black iron (wear 0), above 0.3 toward a paler, brighter rust."},"sett":{"type":"color","default":"#968d84","label":"Setts","describe":"Albedo of the sett caps paving the floor and of the slab's edges and underside. Keep it a clear value step above dust so the joints read. Wear above 0.3 blackens the setts toward the dust colour with coal dust; below 0.3 they are slightly cleaner and paler."},"dust":{"type":"color","default":"#2d2925","label":"Coal dust and joints","describe":"Albedo of the coal dust: the joint bed showing between the setts. It also tints the coal-dust stains on the setts where coal has lain (each stained sett is the sett colour taken 60% toward this one): one smear in the middle of the floor and a few strays along the back wall when the bay is empty, a band round the toe of the heap otherwise."},"coalColor":{"type":"color","default":"#3f4140","label":"Coal","describe":"Albedo of the coal: the heap or mound and every lump on it or on the floor. The lumps render on a slightly glossier material than the rest, so their facets catch a glint."},"weed":{"type":"color","default":"#728738","label":"Weeds","describe":"Albedo of the green weed tufts wear grows at the inner feet of the walls (about half of all tufts; dryWeed is the rest). Tufts: none at wear 0, ten at the default 0.3, twelve at wear 1, only where the coal leaves the wall feet clear (none at full coal)."},"dryWeed":{"type":"color","default":"#baab58","label":"Dry weeds","describe":"Albedo of the dried, gold-brown weed tufts among the green ones at the wall feet (about half of all tufts). Same counts and places as weed."}},"presets":{"weathered-yard":{"sleeper":"#7c766b","rust":"#896038","sett":"#968d84","dust":"#2d2925","coalColor":"#3f4140","weed":"#728738","dryWeed":"#baab58"},"fresh-creosote":{"sleeper":"#563e26","rust":"#2d2925","sett":"#968d84","dust":"#715f50","coalColor":"#3f4140","weed":"#728738","dryWeed":"#baab58"},"silver-sleepers":{"sleeper":"#ae9f8a","rust":"#896038","sett":"#dfddd8","dust":"#2d2925","coalColor":"#3f4140","weed":"#728738","dryWeed":"#baab58"},"pale-granite":{"sleeper":"#a6714a","rust":"#563e26","sett":"#dfddd8","dust":"#2d2925","coalColor":"#3f4140","weed":"#728738","dryWeed":"#baab58"},"blue-setts":{"sleeper":"#7c766b","rust":"#896038","sett":"#6f8ca0","dust":"#2d2925","coalColor":"#3f4140","weed":"#728738","dryWeed":"#baab58"}},"decals":[{"name":"merchant-name","size":[1.4,0.42],"at":[0.96,0.9,-2],"normal":[0,0,-1],"up":[0,1,0],"describe":"the outer (siding) face of the back wall, on the +x panel between the middle upright and the corner upright, below the uneven sleeper tops: a merchant's name or bay number painted across the sleepers","albedo":"#736e66","mode":"plate","relief_mm":0,"verified":true}],"materials":{"sleeper":{"kind":"wood","finish":"raw"},"rust":{"kind":"metal","finish":"rusted"},"sett":{"kind":"stone","finish":"rough"},"dust":{"kind":"soil","finish":"dry"},"coalColor":{"kind":"stone","finish":"rough"},"weed":{"kind":"foliage","finish":"leaf"},"dryWeed":{"kind":"foliage","finish":"leaf"}},"rev":1792869723,"materials_note":"what each colour zone is made of: `kind` and `finish` name a procedural PBR material in https://polyfork.dev/materials.mjs (dressByAlbedo finds a zone by its albedo in COLOR_0). A zone not listed has not been classified.","decals_note":"flat areas on the surface where you can print your own logo, sign or number. `at` is the centre in model space, `normal` points out of the surface, `size` is [width, height] in metres. Bake art with https://polyfork.dev/cdn/sdf.mjs and place it with https://polyfork.dev/cdn/decal.mjs, or use `at`/`normal`/`size` directly in any engine. `albedo` is the colour it prints on. mode `plate` means the face is flat and a quad is enough; `projected` means it is curved (`relief_mm` deep) and the mark has to be projected onto the geometry. Measured on the DEFAULT build: a geometry knob can move the surface a few centimetres; decal.mjs follows it, anywhere else re-measure or keep the defaults.","preview_v":1792869896,"mod_v":1792869723}