renderEffectFrame
Render a single shader frame to compute mean RGB values, variance, and blank or monochrome detection, with optional PNG capture for visual verification.
Instructions
Render one frame. Compute mean RGB, variance, and monochrome/blank detection. Optionally capture a PNG.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "renderEffectFrame"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| time | No | Time in seconds at which to pause and render the frame | |
| backend | No | Rendering backend | webgl2 |
| effects | No | Comma-separated effect IDs | |
| uniforms | No | Values that override uniforms | |
| effect_id | No | One effect ID, such as "synth/noise" | |
| resolution | No | Viewport resolution as [width, height] | |
| capture_image | No | Capture the frame as a PNG data URI | |
| warmup_frames | No | Frames to wait before capture |