Skip to main content
ExodeUI

EXODEUI DESKTOP

A little space for good ideas.

Choose your platform to get the official ExodeUI installer.

Looking for Intel Mac or other builds? Explore the web studio or check all download options.

Prefer the browser? Try for free in your browser →
Export & Runtimes · MCP Tool

preview_frames

Look at an animation before delivering it: renders chosen moments on the real engine and returns them as one contact-sheet image (with timestamps) plus any errors the scene threw. Use after every significant change: a 9-frame sheet across the duration, then stills at specific beats.

Tool Overview & Agent Execution

preview_frames is an official Exode MCP tool that allows AI coding assistants like Claude Code, Cursor, and Windsurf to look at an animation before delivering it: renders chosen moments on the real engine and returns them as one contact-sheet image (with timestamps) plus any errors the scene threw. use after every significant change: a 9-frame sheet across the duration, then stills at specific beats.. It directly inspects and modifies local .exode JSON files with precision without manual UI tweaking.

Example Prompt for Claude Code & Cursor

Give this instruction to your AI coding agent to execute this tool on your active .exode workspace:

prompt
"Use preview_frames to configure the motion properties in my active .exode workspace"

Tool Parameters & Input Schema

ParameterTypeRequiredDescription
animationIdstringOptionalPlay only this animation (id or name). Default: the file's state machine; files without one play every animation
countnumberOptionalEvenly spaced frames when times is omitted. Default 9, max 16
durationnumberOptionalSeconds. Default: one pass of the longest animation, or 6 s for effect-only scenes
fitstringOptionalHow the artboard fits the frame. Default Contain; Layout reflows responsive artboards to the output size
heightnumberOptionalOutput height in CSS px (default: artboard height)
inputsobjectOptionalState machine input values to apply before the first frame, e.g. {"speed": 1.5, "isOpen": true}
pathstringYesWorkspace-relative .exode or .bexode file
pointerstringOptionalVirtual cursor for interactive scenes: 'none' | 'orbit' | 'sweep' | 'figure8' | 'drift', or keyframes [{t, x, y, down?}] in 0-1 frame coordinates
scalenumberOptionalPixel density; 2 = Retina-sharp. Default 1
screenstringOptionalScreen id or name, for multi-screen project files
seednumberOptionalSeed for Math.random inside the scene. Default 1
sheetPathstringOptionalOptional workspace-relative path to also save the sheet PNG
sheetWidthnumberOptionalContact sheet width in px. Default 1400
timesarrayOptionalSeconds to capture, e.g. [0, 0.4, 1.2, 3]
transparentbooleanOptionalDrop the artboard background (alpha kept in webm, mov and png)
warmupnumberOptionalSeconds simulated before the first frame (for simulations that need to settle)
widthnumberOptionalOutput width in CSS px (default: artboard width)

More Export & Runtimes Tools

Build & Review Motion Visually

Let Claude or Cursor run preview_frames, then fine-tune timing, spring physics, and export ready-to-ship code in ExodeUI.