graphic design tool
git clone https://git.lucas.co/cce-designer.git
nodes/wrangle.json (540B)
1 {
2 "name": "Wrangle",
3 "type": "wrangle",
4 "inputs": 1,
5 "outputs": 1,
6 "params": [
7 { "name": "Input", "default": "", "type": "text" },
8 { "name": "Class", "type": "choice:Points,Primitives,Detail", "default": "Points" },
9 { "name": "Group", "default": "", "type": "text" },
10 {
11 "name": "Code",
12 "type": "code",
13 "default": "// Runs once per point. @P is the position, @name any attribute;\n// ch(\"Name\") reads a parameter, neighbours(@ptnum) the topology.\[email protected] += sin(@P.x * 4.0) * 0.15;\n"
14 }
15 ]
16 }