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

nodes/concentrate.json (2.7K)

 1 {
 2   "name": "Concentrate",
 3   "type": "concentrate",
 4   "inputs": 1,
 5   "outputs": 1,
 6   "params": [
 7     {
 8       "name": "input",
 9       "label": "Input",
10       "type": "node",
11       "default": "",
12       "description": "The surface whose point attribute gathers into peaks over it."
13     },
14     {
15       "name": "attribute",
16       "label": "Attribute",
17       "type": "attribute",
18       "default": "mass",
19       "description": "The point attribute that concentrates; must already exist. Floats, integers and vectors, each component on its own; integers stay whole. Nothing is taken below zero, or below the lowest value where some are negative, so a point can be emptied but not overdrawn."
20     },
21     {
22       "name": "follow",
23       "label": "Follow",
24       "type": "attribute",
25       "default": "",
26       "description": "The point attribute whose higher values draw the value in. Empty follows the attribute itself, so where there is more, more gathers. Must be one number, or as wide as Attribute.",
27       "group": "rate"
28     },
29     {
30       "name": "response",
31       "label": "Response",
32       "type": "choice:Difference,Amount",
33       "default": "Difference",
34       "description": "How hard a point is drawn on. Difference: by how much higher its neighbour is, the reverse of Diffuse. Amount: that times how much the giving point holds, so sparse regions barely move and dense ones gather fast; against a Diffuse at the same Rate it gathers where the value is above one and spreads where it is below.",
35       "group": "rate"
36     },
37     {
38       "name": "rate",
39       "label": "Rate",
40       "type": "float",
41       "default": "0.01",
42       "description": "How fast the value gathers, in square world units per frame, measured over the surface as Diffuse's Rate is. The same Rate in a Diffuse and a Concentrate with Response Difference cancels.",
43       "group": "rate"
44     },
45     {
46       "name": "rate_by",
47       "label": "Rate By",
48       "type": "attribute",
49       "default": "",
50       "description": "A point attribute that scales Rate where it lies. Empty gathers evenly; a name that is not an attribute is an error.",
51       "group": "rate"
52     },
53     {
54       "name": "per_frame",
55       "label": "Per Frame",
56       "type": "toggle",
57       "default": "true",
58       "description": "Inside a simulation, makes Rate a rate per frame, so the substep count does not change how far a frame gathers. Off gathers a whole frame's worth every substep.",
59       "group": "rate"
60     },
61     {
62       "name": "group",
63       "label": "Group",
64       "type": "group",
65       "default": "",
66       "description": "Only points in this group change. Points outside it hold their values and give to or take from the ones beside them. Empty changes every point.",
67       "group": "where"
68     }
69   ]
70 }