graphic design tool
git clone https://git.lucas.co/cce-designer.git
nodes/relax.json (875B)
1 {
2 "name": "Relax",
3 "type": "relax",
4 "inputs": 1,
5 "outputs": 1,
6 "params": [
7 { "name": "Input", "default": "", "type": "text" },
8 { "name": "Mode", "type": "choice:Springs,Repel", "default": "Springs" },
9 { "name": "Rest", "default": "", "type": "text", "show_when": "Mode == Springs" },
10 { "name": "Pin Group", "default": "", "type": "text", "show_when": "Mode == Springs" },
11 { "name": "Stiffness", "type": "slider", "default": "0.50", "min": 0.0, "max": 1.0, "step": 0.05, "show_when": "Mode == Springs" },
12 { "name": "Iterations", "type": "spinbox", "default": "8", "min": 0.0, "max": 50.0, "step": 1.0 },
13 { "name": "Radius", "type": "slider", "default": "0.05", "min": 0.001, "max": 1.0, "step": 0.001, "show_when": "Mode == Repel" },
14 { "name": "In 3D Space", "type": "toggle", "default": "false", "show_when": "Mode == Repel" }
15 ]
16 }