git.lucas.co / cce-designer
graphic design tool
git clone https://git.lucas.co/cce-designer.git

nodes/simnet.json (1.6K)

 1 {
 2   "name": "Simnet",
 3   "type": "simnet",
 4   "inputs": 1,
 5   "outputs": 1,
 6   "params": [
 7     {
 8       "name": "input",
 9       "label": "Input",
10       "default": "",
11       "type": "node",
12       "description": "The seed geometry the simulation starts from. It is what the simnet shows at its start frame and what the first step reads."
13     },
14     {
15       "name": "substeps",
16       "label": "Substeps",
17       "type": "spinbox",
18       "default": "1",
19       "min": 1.0,
20       "max": 64.0,
21       "step": 1.0,
22       "description": "How many times the chain inside runs per frame. A dt detail attribute of 1/substeps is set each run, so rates scaled by it stay steady rather than speeding up."
23     },
24     {
25       "name": "start_frame",
26       "label": "Start Frame",
27       "type": "text",
28       "default": "",
29       "description": "The frame at which the simulation shows its seed; earlier frames also show the seed. Empty follows the timeline's start frame."
30     },
31     {
32       "name": "cache",
33       "label": "Cache",
34       "type": "choice:false,true",
35       "default": "false",
36       "description": "When true, the latest solved frame is saved to disk so a later session can resume from it instead of solving from the seed.",
37       "group": "cache"
38     }
39   ],
40   "children": [
41     {
42       "name": "input1",
43       "type": "input",
44       "params": [],
45       "position": [
46         4.0,
47         1.0
48       ]
49     },
50     {
51       "name": "output1",
52       "type": "output",
53       "params": [
54         {
55           "name": "input",
56           "default": "input1"
57         }
58       ],
59       "position": [
60         4.0,
61         3.0
62       ]
63     }
64   ]
65 }