graphic design tool
git clone https://git.lucas.co/cce-designer.git
nodes/soft_transform.json (1.8K)
1 {
2 "name": "Soft Transform",
3 "type": "soft_transform",
4 "inputs": 1,
5 "outputs": 1,
6 "params": [
7 { "name": "input", "label": "Input", "type": "node", "default": "", "description": "The node whose geometry is moved, with the move fading out smoothly around the affected region." },
8 { "name": "translation", "label": "Translation", "type": "float3", "default": "0.00:0.20:0.00", "description": "Offset in world units applied at full strength to the affected points, and faded by the falloff for points around them." },
9 { "name": "center", "label": "Center", "type": "float3", "default": "0.00:0.00:0.00", "description": "Point in world space the falloff is measured from when no Group is given. Points within Radius of it are moved." },
10 { "name": "group", "label": "Group", "type": "group", "default": "", "description": "Point group to move at full strength; the falloff is measured from its nearest member rather than from Center. Empty uses Center.", "group": "where" },
11 { "name": "radius", "label": "Radius", "type": "slider", "default": "0.50", "min": 0.0, "max": 10.0, "step": 0.01, "description": "Distance in world units over which the move fades to nothing. Points farther than this from the center or group are not moved.", "group": "falloff" },
12 { "name": "falloff", "label": "Falloff", "type": "choice:Smooth,Linear,Constant", "default": "Smooth", "description": "Shape of the fade with distance. Smooth eases in with no crease, Linear falls off evenly, and Constant moves everything inside the radius fully.", "group": "falloff" },
13 { "name": "attribute", "label": "Attribute", "type": "attribute", "default": "", "description": "Name of a point attribute to write each point's falloff weight to, from 1 at the center to 0 at the radius. Empty writes nothing.", "group": "output" }
14 ]
15 }