Pre-1.0: the API is not stable yet and may change from version to version. Pin the exact version in your Cargo.toml and check the changelog before upgrading.

The editor

A tour of the editor. It is the same app under oxframe dev on your machine and in the playground on this site.

The oxframe editor on a new project: the frame with a blue circle and the text Hello, hello in the middle, the selected Txt node's signals in the inspector on the right, and the timeline with the hello marker at the bottom
The viewport, the inspector on the right and the timeline below, on the project oxframe init creates.

The four areas

Viewport
The current frame. Scroll to zoom around the cursor, hold Alt (or the middle button) and drag to pan, double-click to fit. Click a node to select it. The round button in the middle plays and pauses.
Timeline
Play, pause and scrub: dragging the playhead during playback holds it until you let go, then it plays on from there. Shows scene boundaries, markers and the soundtrack's waveform. Drag a marker to retime everything that waits for it.
Inspector
The node tree, the live values of the selected node's signals, sliders for tune! values and the list of named eases.
Curve editor
Opens when you click an ease. Drag the two handles or pick a preset; a dot previews the motion.

When code does not compile

The compiler's message appears over the viewport with the file and line. The last build that worked keeps playing, so you never lose your place. Fix the code and save — the error goes away by itself.

In the playground there is no saving: it rebuilds half a second after you stop typing (or at once with Ctrl/⌘+Enter), and compile errors are listed under the code and underlined in it.

Notes for the agent

Under oxframe dev, press Comment (or C) to tell your coding agent what to change, in the frame where you see it. Click a node to mark it, or drag out an area; write what should change and press Ctrl/⌘+Enter. A note belongs to the time of the playhead; Until playhead stretches it to a span (move the playhead first).

The notes are saved in out/notes/ with a close-up of the marked area. An agent that keeps oxframe notes wait running in the background (the generated AGENTS.md asks it to) gets each new note at once; the note then says agent is on it. If the agent asks a question in its reply, answer by editing the scene or writing a new note, or press Send back. In Claude Code, open notes are also shown with every prompt you send (a hook from oxframe init). The next oxframe check reports each open note first, as a review_note error with your words, the time, the node and its file:line, so the agent sees it with the rest of the report and the check fails until it is dealt with. The agent closes a note with oxframe notes done 3 --reply "Title is 128 px now" (or the MCP tool note_done; take and note_take mark it as being worked on); the reply shows under the note in the editor, which you can reopen. oxframe notes lists the open ones.

error[review_note] #3 at 4.20s title src/main.rs:18: The title should stay a second longer

The node's file:line is the call that added it, which the engine sends with the scene tree (NodeInfo::source in the protocol, so another editor can use it too). The playground has no notes: there is no project on disk to keep them in.

Shortcuts

SpacePlay / pause
← →Back / forward 5 seconds (Shift: 1 second); playback goes on
, .Previous / next frame (< >: 10 frames); pauses
Home EndStart / end
CComment mode: mark a node or an area and write a note for the agent (oxframe dev)
MMove the selected marker to the playhead, or add a new marker there
← → on a focused markerMove the marker a frame (Shift: 10 frames); Enter jumps to it
EscDrop the note being written, leave comment mode, close the curve editor, dismiss an error, deselect the marker
Ctrl/⌘+EnterBuild now (playground)

Small conveniences

  • The frame, zoom and selection are kept in the URL, so a link opens at the same spot. Reloading the page starts from the beginning, and so does a rebuild, at most every 15 seconds: while you edit quickly, the playhead stays where it is.
  • Several browser tabs can be connected to one oxframe dev at the same time.
  • In the playground, Share puts the whole source into the link.

Edit this page on GitHub