draw_path
Draw single or multiple mouse-drag strokes on a desktop or browser canvas, auto-detecting canvas bounds when omitted.
Instructions
Draw on a canvas by dragging the left mouse button. Accepts a single polyline [[x,y],...] or multiple strokes [[[x,y],...],...] (lifts the brush between strokes). Auto-detects the Paint/browser canvas sheet if canvas_bounds is omitted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | desktop | |
| points | Yes | ||
| duration | No | ||
| canvas_bounds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||