Create generative art
create_generative_artCreate evolving generative visuals in TouchDesigner. Generates a node network with a chosen technique (noise, reaction-diffusion, GLSL, etc.) and returns paths, controls, and a preview.
Instructions
Create an evolving generative visual. Creates a new baseCOMP under parent_path holding the generator (a recipe network, a GLSL TOP + Text DAT, or a noise chain) ending in a Null output. reaction_diffusion/noise_landscape use validated recipes; strange_attractor, voronoi, and fractal render built-in GLSL; custom_glsl accepts caller shader source only when TDMCP_RAW_PYTHON=on and TDMCP_BRIDGE_ALLOW_EXEC=1; the rest fall back to animated noise (with a warning). Exposes a live 'Speed' knob (except for recipe-built techniques). Returns a summary plus a JSON block with the container path, created node paths, the output path, exposed controls, the technique, any node errors, warnings, and an inline preview image.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"technique": "<technique>"
},
"name": "create_generative_art"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| technique | Yes | Generative method. reaction_diffusion/noise_landscape build validated recipes; strange_attractor/voronoi/fractal render faithful inline GLSL; custom_glsl uses your shader (custom_glsl_code); l_system/cellular_automata/flow_field currently fall back to an animated-noise approximation (with a warning). | |
| parent_path | No | Parent network where the generative container is created (default '/project1'). | /project1 |
| color_palette | No | Free-text palette hint recorded in the result; best-effort, not all techniques honor it. | |
| evolution_speed | No | Animation speed multiplier on the time uniform driving the look (1 = nominal, higher = faster evolution). Exposed as the 'Speed' knob. | |
| expose_controls | No | When true (default), expose a live 'Speed' knob (evolution speed) on the system container. | |
| custom_glsl_code | No | Fragment shader source used only when technique='custom_glsl'; if omitted, a default plasma shader is used (with a warning). |