{"params":{"colorway":{"type":"choice","default":"milk","label":"Colorway","describe":"Named chocolate scheme for the whole bar; sets every colour zone unless a zone is passed explicitly, which wins. milk is the reference: mid brown squares over a darker base, gold foil, red paper band. dark swaps to near-black chocolate with silver foil and a navy band. white is a pale cream chocolate whose darker caramel base keeps the square grid readable, gold foil, orange band. ruby is the pink one with a deep rose base and a cream band. All four keep the base clearly darker than the squares and the foil clearly brightest, so the grid and the wrapper both survive at 64px.","affects":"colors","options":["milk","dark","white","ruby"]},"choco":{"type":"color","default":"#6e3f1e","label":"Chocolate","describe":"Albedo of the raised squares, the largest visible zone and the one that says \"chocolate\". The recessed base between the squares is derived from it automatically (same hue, darker) so the grid always keeps its value contrast. Keep it a clear step LIGHTER than the base needs to be dark.","affects":"colors"},"foil":{"type":"color","default":"#d9a844","label":"Foil","describe":"Albedo of the wrapper sleeve round the lower end, torn edge included. This is the brightest zone in the asset and half of the thumbnail read \u2014 gold or silver read as foil; anything dark turns the wrapper into a shadow and the bar reads as unwrapped.","affects":"colors"},"rows":{"type":"range","default":4,"label":"Rows of squares","describe":"How many rows of raised squares fill the exposed (unwrapped) part of the bar; columns stay at 3. 4 is the reference build, 3 gives big chunky squares, 5 a finer tablet grid. The blocks RESPACE to fill whatever length the foil leaves exposed, so the grid always ends in a clean margin. Worst case is 5 rows = 173 triangles, far under the 300 ceiling.","affects":"geometry","min":3,"max":5,"step":1},"wrap":{"type":"range","default":0.35,"label":"Wrap length","describe":"How much of the bar the foil covers, as a fraction of its 0.15m length, measured from the wrapped end to the torn zigzag edge. 0.35 is the reference half-unwrapped look; 0.20 leaves just a foil cuff to hold, 0.55 is mostly wrapped with a short exposed grid. The band recentres on the foil and the squares respace over what is left, so the read holds at every setting; triangle count does not move.","affects":"geometry","min":0.2,"max":0.55,"step":0.05}},"presets":{"milk":{"choco":"#6e3f1e","slab":"#4a2a12","foil":"#d9a844","band":"#b5342c"},"dark":{"choco":"#3d2412","slab":"#281408","foil":"#cfd3da","band":"#274b73"},"white":{"choco":"#f2e3c2","slab":"#cdb184","foil":"#d9a844","band":"#d96b35"},"ruby":{"choco":"#d4697f","slab":"#9c4658","foil":"#d9a844","band":"#f5efe4"}},"rev":1787907246,"materials":{"choco":{"kind":"plastic","finish":"satin"},"foil":{"kind":"metal","finish":"satin"}},"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.","preview_v":1792486545,"mod_v":1787907246}