Volume node ยท time dependent
volume_wrangle
Python/numpy wrangle over volume voxels (Volume VOP/Wrangle). Build procedural SDF shapes, clouds, masks. Example SDF modelling: surface = smin(sdf_sphere((0,1,0),0.8), sdf_box((0,0.4,0),(1.5,0.3,1.5)), 0.2)
Inputs
- 0volumes
- 1second input
Parameters 4
codecodenumpy code over voxels. X,Y,Z world coordinate grids; every volume by name (density, surface, ...), np, noise, F, T, voxel, sdf_sphere(c,r), sdf_box(c,size), sdf_torus(c,R,r), smin(a,b,k). Assign a new array to create a volume: vols['name'] = arr (kind fog) or sdf['name'] = arr.
# density = np.clip(1 - np.sqrt(X**2 + (Y-1)**2 + Z**2), 0, 1)
voxel_sizefloatUsed when the input has no volume: creates a grid over 'size' at 'center'
sizevector 3No description.
centervector 3No description.
Use it
Add it from the node menu (right-click empty graph space or Tab, then type volume_wrangle), ask the AI for it by name, or add it with a graph op from the API or MCP:
{"op":"add","type":"volume_wrangle","name":"my_volume_wrangle","params":{},"inputs":["src"]}Any parameter can also be an expression such as "=sin(F*0.1)". See Parameters & expressions.