graphic design tool
git clone https://git.lucas.co/cce-designer.git
nodes/deform.json (1.2K)
1 {
2 "name": "Deform",
3 "type": "deform",
4 "inputs": 1,
5 "outputs": 1,
6 "params": [
7 { "name": "input", "label": "Input", "type": "node", "default": "", "description": "The node whose geometry is twisted, bent or tapered." },
8 { "name": "mode", "label": "Mode", "type": "choice:Twist,Bend,Taper", "default": "Twist", "description": "Twist rotates slices about the axis, Bend curves the shape along the axis, and Taper scales slices so one end narrows and the other widens." },
9 { "name": "axis", "label": "Axis", "type": "choice:X,Y,Z", "default": "Y", "description": "The axis the deformation runs along. The middle of the geometry's extent on this axis stays still and the two ends deform in opposite ways." },
10 { "name": "amount", "label": "Amount", "type": "slider", "default": "1.00", "min": -4.0, "max": 4.0, "step": 0.05, "description": "Strength of the deformation over the geometry's full length: radians of rotation for Twist and Bend, change in scale for Taper. Negative reverses it." },
11 { "name": "group", "label": "Group", "type": "group", "default": "", "description": "Point group to deform; other points stay where they are. Empty deforms every point.", "group": "where" }
12 ]
13 }