{ "xzbt": "0.1", "meta": { "id": "minimal-visual", "name": "Minimal Visual", "version": "1.0.0", "author": "XZBT", "description": "A minimal generic exhibit exercising the visual contract surface that Stage 0 aligns: the scene and layer model, a graphic system, a procedural system, a declared field, a spawned template with its spawn container, exhibit- and system-scope automation, the post-effect chain, and the four external target families.", "license": "CC0-1.0", "tags": ["minimal", "visual"] }, "runtime": { "seed": 42 }, "parameters": { "depth": { "type": "number", "default": 1, "min": 0.5, "max": 2, "step": 0.01, "label": "Field depth" } }, "state": { "intensity": { "type": "number", "initial": 0.35, "min": 0, "max": 1 } }, "bindings": [ { "source": "parameters.depth", "target": "visuals.camera.zoom" }, { "source": "state.intensity", "target": "visuals.layers.near.opacity" }, { "source": "state.intensity", "target": "visuals.effects[0].amount", "scale": 0.6 } ], "components": { "visual": { "panel": { "parameters": { "tint": { "type": "color", "default": "#3a6ea5" }, "lit": { "type": "boolean", "default": false } }, "content": { "frame": { "type": "rounded-rectangle", "size": { "width": 24, "height": 16 }, "radius": 2, "style": { "fill": { "ref": "inputs.tint" }, "stroke": "#0b1118" } } } } } }, "visuals": { "scene": { "coordinateSpace": "virtual", "width": 1600, "height": 900, "fit": "contain", "background": "#020308", "depthFog": { "color": "#020308", "near": 200, "far": 1400, "density": 0.8 } }, "layers": { "far": { "parallax": 0.2 }, "near": { "opacity": 1 } }, "camera": { "x": 800, "y": 450, "zoom": 1, "projection": "perspective", "focalLength": 1200 }, "fields": { "current": { "type": "noise", "scale": 220, "speed": 0.08, "octaves": 3, "persistence": 0.5, "amplitude": 40, "mode": "curl" } }, "systems": { "horizon": { "type": "graphic", "layer": "far", "content": { "band": { "type": "rectangle", "position": { "x": 0, "y": 620 }, "size": { "width": 1600, "height": 4 }, "style": { "fill": "#1d2b3a" } } }, "automation": [ { "target": "band.style.opacity", "interpolation": "smooth", "loop": { "mode": "ping-pong", "count": "infinite" }, "points": [ { "at": "0ms", "value": 0.4 }, { "at": "12s", "value": 0.9 } ] } ] }, "wall": { "type": "repeater", "layer": "far", "repeat": { "type": "component", "component": "panel", "inputs": { "lit": { "choose": [{ "value": true, "weight": 1 }, { "value": false, "weight": 3 }] } } }, "count": 96, "distribution": { "type": "grid", "origin": { "x": 120, "y": 90 }, "columns": 12, "rows": 8, "spacing": { "x": 34, "y": 26 } } }, "motes": { "type": "particles", "layer": "near", "capacity": 400, "count": 400, "lifetime": "12s", "fields": ["current"], "distribution": { "type": "rectangle", "center": { "x": 800, "y": 450 }, "size": { "width": 1600, "height": 900 } }, "velocity": { "x": { "random": { "min": -6, "max": 6 } }, "y": { "random": { "min": 4, "max": 18 } } }, "drag": 0.05, "render": { "type": "point", "style": { "fill": "#cfe4ff" } }, "automation": [ { "target": "drag", "mode": "absolute", "points": [ { "at": "0ms", "value": 0.05 }, { "at": "20s", "value": 0.25 } ] } ] }, "flare": { "type": "emitter", "layer": "near", "lifecycle": "spawned", "spawn": { "lifetime": "6s", "release": "400ms", "ownership": "persistent", "cancelWithScenario": false, "inputs": { "tint": { "type": "color", "default": "#ffcf9b" } } }, "emit": { "type": "component", "component": "panel", "inputs": { "tint": { "ref": "inputs.tint" } } }, "rate": 6, "burst": [{ "at": "0s", "count": 24 }], "capacity": 120, "lifetime": "2s", "distribution": { "type": "ellipse", "center": { "x": 400, "y": 300 }, "radius": 40 }, "velocity": { "x": { "random": { "min": -30, "max": 30 } }, "y": -80 } } }, "effects": [ { "type": "vignette", "amount": 0.45, "radius": 0.7 }, { "type": "bloom", "threshold": 0.7, "intensity": 0.5, "radius": 8 } ], "automation": [ { "target": "camera.zoom", "mode": "scale", "interpolation": "smooth", "loop": { "mode": "ping-pong", "count": "infinite" }, "points": [ { "at": "0ms", "value": 1 }, { "at": "24s", "value": 1.35 } ] }, { "target": "layers.far.parallax", "points": [ { "at": "0ms", "value": 0.2 }, { "at": "18s", "value": 0.35 } ] } ] } }