{"params":{"colorway":{"type":"choice","default":"tinto","label":"Colorway","describe":"Curated carton designs. tinto: plain wine-red carton, indigo grapes, red cap (the classic). dieciocho: off-white carton with red grapes and a blue cap for the 18th. reserva: navy carton, periwinkle grapes, gold leaf, off-white cap. campo: brown kraft carton, indigo grapes, gold cap.","options":["tinto","dieciocho","reserva","campo"]},"carton":{"type":"color","default":"#801310","label":"Carton","describe":"The waxed board of the whole carton: panels, ears, top fin and tabs."},"grapes":{"type":"color","default":"#434d97","label":"Grapes","describe":"The hex grapes printed flat on the front label."},"leaf":{"type":"color","default":"#828c4e","label":"Vine leaf","describe":"The vine leaf and narrow blade printed flat above the grapes."},"capColor":{"type":"color","default":"#c5192e","label":"Cap","describe":"The plastic screw cap, its collar and the spout under it."},"cap":{"type":"toggle","default":true,"label":"Cap on","describe":"On: the faceted screw cap sits closed on the top. Off: the carton is opened, showing a short spout with its seal, and the cap lies on its side on the ground just beside the carton.","affects":"geometry"},"volume":{"type":"choice","default":"1l","label":"Volume","describe":"Carton size, rebuilt rather than scaled: 500ml is a short slim 7 x 5 x 15.5 cm carton, 1l the standard 9 x 6 x 21 cm, 2l a fat 10 x 8 x 25.5 cm one. Cap, fin and ears keep their real size; the printed label scales with the front panel.","affects":"geometry","options":["500ml","1l","2l"]},"bulge":{"type":"range","default":0.5,"label":"Bulge","describe":"How far the liquid pillows the four panels outward. 0: dead-flat panels, a crisp box. 1: a full, swollen carton whose panels bow 6.5 mm out as big diagonal facets.","affects":"geometry","min":0,"max":1,"step":0.05},"wear":{"type":"range","default":0.2,"label":"Wear","describe":"0 freshly painted and new for the holiday, 1 old and weathered: faded paint, dust and small chips; the object itself never changes.","affects":"geometry","min":0,"max":1,"step":0.1}},"presets":{"tinto":{"carton":"#801310","grapes":"#434d97","leaf":"#828c4e","capColor":"#c5192e"},"dieciocho":{"carton":"#e0dee1","grapes":"#c5192e","leaf":"#707843","capColor":"#434d97"},"reserva":{"carton":"#20243b","grapes":"#8289a9","leaf":"#bdac45","capColor":"#e0dee1"},"campo":{"carton":"#774329","grapes":"#434d97","leaf":"#828c4e","capColor":"#bdac45"}},"decals":[{"name":"front-brand","size":[0.054,0.04],"at":[0,0.177,0.0318],"normal":[0,0,1],"up":[0,1,0],"describe":"Front panel above the grape label: a brand or wine name band.","albedo":"#801310","mode":"plate","relief_mm":2.4,"verified":true},{"name":"back-label","size":[0.0558,0.0882],"at":[0,0.105,-0.0331],"normal":[0,0,-1],"up":[0,1,0],"describe":"Back panel: the full back label (wine notes, origin, volume).","albedo":"#801310","mode":"plate","relief_mm":2.1,"verified":true}],"materials":{"carton":{"kind":"paper","finish":"glossy"},"grapes":{"kind":"paper","finish":"glossy"},"leaf":{"kind":"paper","finish":"glossy"},"capColor":{"kind":"plastic","finish":"gloss"}},"rev":1792793068,"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":1792793256,"mod_v":1792793068}