three_live_render
Render Three.js scripts, HTML, or GLB files headlessly into 4-up contact sheet PNGs, single-view images, or turntable GIFs with spatial diagnostics for vision-capable agents.
Instructions
Render a Three.js script, HTML document, or .glb headlessly (zero GPU required) into a 4-up orthographic/camera contact sheet PNG (CAMERA, FRONT +Z, TOP +Y FRUSTUM, ISO 45 deg), single viewport PNG, or temporal filmstrip / 360-degree turntable GIF. Returns the base64 image directly to vision-capable agents along with spatial diagnostics.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Inline Three.js scene script or HTML document. Provide either `code` or `inputPath`. | |
| grid | No | Draw 1.0m / 0.25m reference ground grid and X/Y/Z origin axes. | |
| view | No | Viewport mode: `quad` (default 4-up contact sheet) or single view (`camera`, `front`, `top`, `right`, `iso`). | quad |
| width | No | Output image width in pixels (defaults to 1024 for `quad`, 512 for single view). | |
| frames | No | Number of frames for temporal filmstrip or turntable capture. | |
| height | No | Output image height in pixels (defaults to 1024 for `quad`, 512 for single view). | |
| duration | No | Duration in seconds for multi-frame temporal capture. | |
| inputPath | No | Path to a .js, .html, or .glb file on disk when `code` is not provided. | |
| turntable | No | Render a 360-degree turntable orbit across multiple frames. | |
| outputPath | No | Optional file path (.png or .gif) to also save the rendered image on disk. | |
| annotations | No | Draw 3D AABB wireframes and 2D node name callouts. | |
| triggerSelect | No | Optional interactive node name to trigger `onSelect` at t = 0. |