# oxframe oxframe is procedural animation in Rust. Scenes are async functions; awaiting an animation takes time. This is oxframe 0.24.3, pre-1.0: the API is not stable and changes between versions. Pin the exact version and follow these docs for it, not model memory. Full text: https://oxframe.dev/llms-full.txt Every page also has a Markdown version: add .md to its URL. ## Start here - [Welcome](https://oxframe.dev/docs): Learn oxframe: make animations and motion graphics by writing Rust code, with a live editor to scrub through them and fine-tune the timing. - [Install and first project](https://oxframe.dev/docs/getting-started): Install the oxframe CLI with cargo, create your first animation project and open the live editor — five minutes from nothing to a moving scene. - [Versions and upgrades](https://oxframe.dev/docs/versions): How oxframe versions work before 1.0: weekly releases, breaking changes batched into minor versions, pinning the SDK, and oxframe upgrade. - [Troubleshooting](https://oxframe.dev/docs/troubleshooting): Fixes for the errors of a first oxframe install or render: linker cc not found, old rustc, no ffmpeg, a busy port, protocol versions, WSL and disk space. ## Guide - [1. Your first animation](https://oxframe.dev/docs/guide/hello): Lesson 1 of the oxframe guide: add a circle to the screen and animate it with Rust. The basic pattern behind every animation, with a live example. - [2. In order, or all at once](https://oxframe.dev/docs/guide/together): Lesson 2: run animations in order, all at once or as a ripple with all and stagger, plus ready-made entrances like fade_in and pop_in. - [3. Shapes, colors, transforms](https://oxframe.dev/docs/guide/shapes): Lesson 3: rectangles, circles, lines and polygons; fills and outlines; rotation, scale and color — the properties every oxframe shape shares. - [4. Easing](https://oxframe.dev/docs/guide/easing): Lesson 4: easing curves explained — why some animations feel natural and others robotic, and how to pick the right ease-in and ease-out curve. - [5. Text](https://oxframe.dev/docs/guide/text): Lesson 5: animate text in Rust — titles, typewriter effects, mixed styles and syntax-highlighted code blocks with oxframe. - [6. Groups and layout](https://oxframe.dev/docs/guide/groups): Lesson 6: nest shapes in groups and let flexbox-style layout arrange them, so whole compositions move and scale together. - [7. Tweak timing in the editor](https://oxframe.dev/docs/guide/editor): Lesson 7: adjust timing by eye in the oxframe editor — markers, eases and tunables you can drag without touching or recompiling code. - [8. Signals](https://oxframe.dev/docs/guide/signals): Lesson 8: signals make one value follow another — a line that always connects two dots, a label that always shows a number. - [9. Drawing and morphing](https://oxframe.dev/docs/guide/drawing): Lesson 9: draw an outline as if with a pen, then morph one shape into another — path drawing and shape morphing in oxframe. - [10. Randomness and background tasks](https://oxframe.dev/docs/guide/random): Lesson 10: background tasks and seeded randomness — many things moving on their own while the story continues, rendering the same video every time. - [11. Scenes and transitions](https://oxframe.dev/docs/guide/scenes): Lesson 11: build a video from several scenes and blend them with slide, fade, wipe and zoom transitions, all in one oxframe render. - [12. Sound and voice](https://oxframe.dev/docs/guide/sound): Lesson 12: add sound effects on the beat, a soundtrack that ducks under speech, and time animations to the words of a spoken line. - [13. Shaders and effects](https://oxframe.dev/docs/guide/shaders): Lesson 13: animated water, drops on the camera lens, ripples on a node and a water transition — shader presets you animate like any property. - [14. Charts and graphs](https://oxframe.dev/docs/guide/charts): Lesson 14: plot functions on axes, ride a dot along a curve, morph it into another function and zoom — the whole chart follows the ranges. - [15. Vectors and matrices](https://oxframe.dev/docs/guide/matrices): Lesson 15: draw a vector on axes, stretch the whole plane with a 2 × 2 matrix and show the numbers in brackets — the grid and the arrow follow. ## Going further - [Components](https://oxframe.dev/docs/guide/components): Build an explainer from ready-made blocks: title cards, bullet lists, code, flow diagrams, callouts, lower thirds and end cards. - [All nodes](https://oxframe.dev/docs/nodes): Reference of every oxframe node and its properties: Rect, Circle, Line, Path, Polygon, Star, Txt, Code, Img, Layout and Grid. - [Effects](https://oxframe.dev/docs/effects): Gradients, dashes, shadows, blur, blend modes and clipping in oxframe. Every effect is a signal and animates like any other property. - [Animated charts and plots](https://oxframe.dev/docs/charts): Animated charts in Rust: axes with labels, function plots that follow animated ranges, bars that grow with their values, and number lines. - [Matrices, vectors and tables](https://oxframe.dev/docs/matrices): Animated matrices, vectors and tables in Rust: matrix multiplication step by step, linear maps that bend the grid, and rows that sort themselves. - [3D scenes in 2D animations](https://oxframe.dev/docs/3d): Add lit 3D models to oxframe animations: cubes, spheres and glTF models, a camera and lights as signals, and 2D labels pinned to 3D points. - [Presentations from scenes](https://oxframe.dev/docs/presentations): Turn oxframe scenes into a talk: slide_break stops, speaker notes in a presenter window, clicker keys, and every stop as a PDF page. - [Writing your own node](https://oxframe.dev/docs/custom-nodes): Make a node of your own in Rust: a struct that draws with DrawCtx, animatable signal fields, layout and checks, and a crate template. - [Icons: Lucide, Tabler and brand logos](https://oxframe.dev/docs/icons): Lucide, Tabler and Simple Icons in Rust animations: icon!("lucide:server") by name, colors and line widths as signals, and icons in flow diagrams. - [Formulas: Typst math in Rust animations](https://oxframe.dev/docs/formulas): Typeset math in oxframe with Typst: Math::new("e^(i pi) + 1 = 0"), font size and theme color, display style, and writing a formula on glyph by glyph. - [Camera](https://oxframe.dev/docs/camera): Zoom, pan and rotate the view in oxframe: fit a whole diagram, center on a detail, follow a moving node, and keep titles on screen. - [Markers, eases, tunables](https://oxframe.dev/docs/timing): Markers, custom eases and tunables: timing values stored outside your Rust code so you can adjust them visually in the oxframe editor. - [The editor](https://oxframe.dev/docs/editor): A tour of the oxframe editor: viewport, timeline, inspector and hot reload — the same app in oxframe dev and in the browser playground. - [Rendering video](https://oxframe.dev/docs/rendering): Render oxframe animations to MP4, WebM with alpha, ProRes 4444, an animated GIF or PNG frames with one command, with audio, voice and scene transitions. - [Embed an animation in a web page](https://oxframe.dev/docs/embed): Play an oxframe animation on any website with the element: one script tag, no video file, sharp at every size, with controls and a JS API. - [CLI reference](https://oxframe.dev/docs/cli): Reference for the oxframe command line: init, dev, render, snapshot, check, agents, upgrade and mcp, with all options. - [Working with AI agents](https://oxframe.dev/docs/agents): Use Claude Code, Codex or Cursor to write oxframe animations: every project ships agent instructions and a way for agents to see what they made. - [MCP server for Claude Code, Codex, Cursor](https://oxframe.dev/docs/mcp): Connect oxframe to Claude Code, Codex, Cursor, VS Code or ChatGPT over MCP: the local server checks and renders videos, the hosted one serves the docs. - [Check rules](https://oxframe.dev/docs/check-rules): Every rule in an oxframe check report, out_of_frame to too_fast and low_contrast, with before and after frames and how to fix each one. ## Migrating - [Migrating from Remotion](https://oxframe.dev/docs/migrate/remotion): Move a Remotion video to oxframe: useCurrentFrame, interpolate, Sequence and spring mapped to Rust scenes, one composition ported, and what changes. - [Migrating from Motion Canvas](https://oxframe.dev/docs/migrate/motion-canvas): Port Motion Canvas scenes to oxframe: generators become async Rust, refs become handles, with a table of every concept and one scene in both. - [Migrating from Manim](https://oxframe.dev/docs/migrate/manim): Port Manim scenes to oxframe: self.play, Create, Transform, ValueTracker and Axes mapped to Rust, two scenes ported, and what LaTeX users should know. - [Migrating from Revideo](https://oxframe.dev/docs/migrate/revideo): Move Revideo projects to oxframe: scenes port like Motion Canvas, variables become environment or files, and renderVideo becomes oxframe render. ## Under the hood - [How oxframe works](https://oxframe.dev/docs/how-it-works): How oxframe works inside: scenes as Rust coroutines, deterministic rendering, instant scrubbing, and compiling Rust to WebAssembly for the browser.