Render a 3D canvas scene and see it from multiple angles
render_sceneRender a 3D HTML canvas scene and capture screenshots from multiple camera angles to inspect and validate the visual output.
Instructions
Renders an HTML file containing a 3D scene (Three.js, raw WebGL or Canvas 2D) in a headless browser and returns screenshots from multiple camera angles, so you can SEE what you built. ALWAYS call this after writing or editing scene HTML, look hard at every angle, fix problems and render again. Multi-angle needs window.__scene (Three.js) or window.__setView (other tech) — call get_guidelines topic 'workflow' first if unsure. Use distance_factor < 1 in a custom view for close-ups of textures/details.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute path to a self-contained .html file that renders a 3D scene into a <canvas> | |
| views | No | Camera views to capture (requires window.__scene or window.__setView; see get_guidelines topic 'workflow'). Ignored for 2D scenes and when animation_frames > 1. | |
| animation_frames | No | Capture N sequential frames of an animated scene instead of multiple camera views | |
| frame_interval_ms | No | Delay between animation frame captures | |
| format | No | jpeg | |
| width | No | Viewport width in px | |
| height | No | Viewport height in px | |
| settle_frames | No | requestAnimationFrame frames to wait after load before capturing | |
| extra_wait_ms | No | Extra fixed wait after settling, for slow async scenes | |
| timeout_ms | No | Hard cap for the whole operation |