53 lines
1012 B
Plaintext
53 lines
1012 B
Plaintext
{
|
|
"xzbt": "0.1",
|
|
"meta": {
|
|
"id": "minimal-fixed",
|
|
"name": "Minimal Fixed",
|
|
"version": "1.0.0",
|
|
"author": "XZBT",
|
|
"description": "A minimal common-grammar exhibit with a fixed reproducible seed.",
|
|
"license": "CC0-1.0",
|
|
"tags": ["minimal", "deterministic"]
|
|
},
|
|
"runtime": {
|
|
"seed": 42
|
|
},
|
|
"parameters": {
|
|
"activity": {
|
|
"type": "number",
|
|
"default": 0.4,
|
|
"min": 0,
|
|
"max": 1,
|
|
"step": 0.01,
|
|
"label": "Activity"
|
|
},
|
|
"enabled": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"label": "Binding enabled"
|
|
}
|
|
},
|
|
"state": {
|
|
"energy": {
|
|
"type": "number",
|
|
"initial": 0.1,
|
|
"min": 0,
|
|
"max": 1
|
|
}
|
|
},
|
|
"bindings": [
|
|
{
|
|
"source": "parameters.activity",
|
|
"target": "state.energy",
|
|
"scale": 1.25,
|
|
"clamp": [0, 1],
|
|
"smoothing": "250ms",
|
|
"when": {
|
|
"op": "eq",
|
|
"left": { "ref": "parameters.enabled" },
|
|
"right": true
|
|
}
|
|
}
|
|
]
|
|
}
|