export_video
Export ASCII animations as MP4 or WebM video files using browser rendering. Specify file path, format, size, frame rate, quality, and frame range.
Instructions
Export the animation as a video file (MP4 or WebM). The browser renders each frame and encodes the video. Requires live mode with a connected browser.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | File path to save (relative to project dir). Extension determines format (.mp4, .webm). | |
| format | No | Video format (auto-detected from file extension if omitted) | |
| sizeMultiplier | No | Size multiplier (1x, 2x, or 4x) | |
| frameRate | No | Frame rate in fps, or "auto" to use project frame rate | auto |
| quality | No | Encoding quality | high |
| includeGrid | No | Include grid lines in the export | |
| loops | No | Number of times to loop the animation in the video | none |
| frameRange | No | Frame range to export (defaults to all frames) |