design_generate_field_from_points
Creates a VectorField from control points via RBF interpolation, returning JSON for use as a painting layer's field property.
Instructions
Generate a VectorField from agent-specified control points using RBF interpolation. Each control point defines a flow direction and magnitude at a canvas position. Returns the VectorField as a JSON string suitable for use as a painting layer's 'field' property.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cols | No | Field grid columns (default: 20). | |
| rows | No | Field grid rows (default: 20). | |
| canvasWidth | Yes | Canvas width in pixels. | |
| canvasHeight | Yes | Canvas height in pixels. | |
| controlPoints | Yes | Array of control points defining flow direction and magnitude. |