Make video
with code.
Start with a project and a scene, then look things up in the reference. Every picture in these pages is the library itself, running in your browser.
Start
Introduction
What effects is, how a video is built from procedures of time, and what is in the box.
Install
Build the renderer and the editor on Linux, and check that they work.
Your first video
A project from an empty directory to an MP4: one file, one scene, a still, a render.
Scenes and time
Video, Scene, Shot and Cue: how a film is laid out on a timeline, and the film-wide master and overlay.
Working as an agent
The loop an agent uses to write a video: edit, compile, look at stills, measure, render. And what tends to go wrong.
What things cost
Measured frame times and render times, why the pipeline is fast, and what to do about the slow parts.
fx reference
fx.anim
Turning time into motion: progress, eases, springs, staggers, keyframes and repeatable randomness.
fx.draw
Shapes, paints and gradients, paths, text, icons, images, baked layers and raw shaders, all drawn immediately onto the frame.
fx.group
A group moves, scales, tilts, fades, blurs, grades, blends, clips and filters everything drawn in its scope; frosted blurs what is behind a rect.
fx.color
The basic types everything else is written in: 0xAARRGGBB colors, Vec2 and Rect with their helpers, and the 1920×1080 stage a video is designed on.
fx.theme
The Theme struct and its default LIERMANN palette, the two bundled font families, registering your own fonts, and the built-in icon set.
fx.post
Pixel filters over what a group draws (color splits, glitches, halftone, dither, lenses, shockwaves, your own SkSL) and bloom with anamorphic streaks.
fx.shade
Pictures computed per pixel in SkSL: your own with shader and shader_scaled, and the ready-made nebula, orb and tunnel.
fx.space
A camera, a projection and a few drawing procedures for point clouds, lines in space and depth of field.
fx.type
Text animated letter by letter: staggered arrivals with letters, decoding text with scramble, and glyphs for effects of your own.
fx.edit
Beats as lists of times, and what to hang on them: pulses, shake, punch-ins, flashes, letterboxing, transitions between scenes, speed ramps and slammed titles.
fx.layout
A small flexbox for interface mockups: rows and columns that size themselves from their content, with every element animatable and findable afterwards.
fx.ui
Ready-made pieces for product videos: backdrops, grain, windows and phones, app chrome, pills, buttons, tables, charts, a pointer, a highlight and headlines that arrive word by word.
fx.sound
Sounds on the timeline, how they are changed and mixed, and reading hits, drops and a spectrum out of audio files.
fx.music
Sounds made by code: five one-shot effects, and a small offline studio of synth notes, drums, buses and effects for whole scores.
fx.footage
Drawing frames of video files like images, how they are decoded, and what makes that fast or slow.
fx.voice-over
Word timings of a spoken track from a timeline.json: scenes that take their length from it and pictures cut to single words.
Tools
The CLI
"effects render, still, mix, bench, build and beats: every command and option of the renderer."
The editor
effects-edit previews a project on the GPU, reloads code on save and lets you drag scenes, cues and sounds on a timeline.
In the browser
How the players in these docs work: fx compiled to WebAssembly, drawing through CanvasKit, and what that build can and cannot do.