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.

Install and first project

Five minutes from nothing to an editor with your own animation in it.

Want to skip installing? Everything in the guide also works in the playground. Come back here when you want to render videos on your machine.

1. Install the tools

You need Rust with a C linker. ffmpeg makes the videos: install it, or let oxframe render download a static build the first time it needs one.

# Rust (skip if you have it)
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

# a C linker, if this machine has never built C or Rust
sudo apt install build-essential   # Debian/Ubuntu
xcode-select --install             # macOS

# ffmpeg (optional: oxframe render downloads one if it is missing)
sudo apt install ffmpeg        # Linux
brew install ffmpeg            # macOS
winget install Gyan.FFmpeg     # Windows

# the oxframe command, prebuilt: seconds, checksum-verified
curl -fsSL https://github.com/oxygenframe/oxframe-cli/releases/latest/download/install.sh | sh   # Linux, macOS
# or with Homebrew (brings ffmpeg too): brew install oxygenframe/tap/oxframe
# Windows (PowerShell):
#   powershell -ExecutionPolicy Bypass -c "irm https://github.com/oxygenframe/oxframe-cli/releases/latest/download/install.ps1 | iex"
# or with cargo: cargo binstall oxframe-cli (prebuilt), cargo install oxframe-cli (from source)

The installer puts oxframe in ~/.local/bin (%LOCALAPPDATA%\oxframe\bin on Windows, added to your PATH); set OXFRAME_INSTALL_DIR to change that. The Homebrew formula installs the same prebuilt binary and updates with brew upgrade. Rust is still needed either way: your scenes are Rust code. oxframe doctor then checks that everything a build needs is there.

Requirements

SystemLinux (x86_64, arm64), macOS (Intel, Apple Silicon), Windows (x86_64).
Rust1.95 or newer, from rustup. rustup update moves an older one forward.
C linkerRust links programs with it. Linux: build-essential (Debian, Ubuntu), gcc (Fedora), base-devel (Arch). macOS: the Xcode command line tools. Windows: the MSVC build tools, which rustup offers to install.
ffmpegFor MP4, WebM, ProRes and GIF. Without one, oxframe render downloads a static build once (about 25 MB) into the oxframe cache. The editor, oxframe check, snapshots and PNG frames work without it.
GPUNot needed: frames are drawn on the CPU. --gpu uses Vulkan, Metal or DirectX 12 when the machine has them.
DiskA few GB per project for Rust's build cache in target/; the first build fills it.

2. Create a project

oxframe init hello
cd hello
oxframe dev --open

The first build takes a minute or two — Rust compiles the engine once. Then your browser opens the editor: the animation in the middle, the timeline at the bottom. Press Space to play.

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 new project in oxframe dev, with the text node selected.

3. Change something

Open src/main.rs, find color!("#68abdf") and change it to color!("#2ecc71"). Save. About a second later the editor shows the new color — and stays on the same frame. That loop, edit → save → look, is how you will work.

4. Make a video

oxframe render        # writes out/hello.mp4

What is in the project

src/main.rsYour scene. Everything you write goes here.
src/intro.meta.jsonTiming values you adjust in the editor (lesson 7). Commit it.
oxframe.tomlSettings for oxframe dev and render.
assets/Images and audio.
AGENTS.md, .claude/Instructions for AI coding assistants (see Working with AI agents).

Next, lesson 1 walks through that first scene line by line.

Edit this page on GitHub