2b62873310 perf(ui): the Puppet overlay and the Layer panel preview render off the UI thread (#2516) (#4411)
* Puppet tools: a precomp layer's overlay is evaluated off the UI thread (#2516)

With a Puppet tool active, the viewer evaluated the selected layers' Puppet meshes and pins on
the UI thread once per project revision. A precomp layer's input has no layer-cache key, so
every edit anywhere (each Position or Scale change, every drag step) re-rendered its whole nested
composition at full size on the UI thread, and the whole window slowed down.

`Renderer::layer_input_cacheable` tells whether a layer's input is kept by the layer cache, and
`PuppetSource` evaluates a Puppet from shared parts. Cacheable inputs are still evaluated in the
frame; the rest are evaluated on a worker, one at a time, the layer's last overlay drawn until
the new one lands. Only a layer's first overlay is waited for, at most 16 ms.

In a 4K comp with a precomp of four large solids, a Position edit with the Puppet tool active
went from 48 ms to 20 ms to its frame, the same as with the Selection tool.

* Puppet tools: take an inline overlay before waiting; doc fixes

On the web the overlay is evaluated inline and sent before the frame
waits for it, and recv_timeout reads the clock, which std doesn't have
there. try_recv takes the inline result first; only with nothing yet
and no overlay to draw does the frame wait.

layer_input gets its own doc comment back (layer_input_cacheable's had
been appended to it), PuppetSource's fields are documented, and its doc
says it borrows.

* refactor(render): one key function behind layer_input and its cacheable check

layer_input_cacheable re-derived the layer cache key beside
whole_layer_input instead of asking it, and the two had already fallen
out of step: the part-read footage filter (#3271) and the content key
were added to the render path only.

Neither changes the answer today. layer_input renders with whole_raster
set, which turns the footage filter off, and the content key keeps every
key input_key gives, so this is not a behaviour fix. It removes the
second derivation so that the next filter added to the render path
cannot silently leave the predicate behind -- which matters, because
callers decide by it whether to render off the UI thread.

Both now ask Renderer::whole_layer_input_key.

* perf(ui): the Layer panel renders its preview off the UI thread

Double-clicking a clip opens it in the Layer panel, and the preview then
rendered in the frame: a source decode, the masks and the effects up to
the View choice, on the UI thread, whenever the render key changed. The
key holds the current time and the project revision, so that was every
step of a scrub and every edit anywhere in the project. Scrubbing in the
panel stalled the whole window.

render_tex now drives a slot: a frame starts the render on a worker and
draws the panel's last texture until it lands, repainting when it does.
One render at a time, so a fast scrub drops the frames it passed over
instead of queueing a render for each. A frame waits (16 ms) only when
there is nothing to draw yet, and takes an inline result with try_recv
before reading the clock, which the web has none of. An empty render is
kept under its key, so a layer with no pixels is not retried every frame.

The same cost #2516 reported under the Puppet tools, fixed the same way;
the layer cache still makes a repeat cheap.

Trade-off: on a paint-stroke release the baked image lands a frame or
two later instead of synchronously, so the stroke can blink once as the
drag overlay hands over. Waiting in the frame is what #2516 says not to
do.

* fix(ui): a pin's turn and scale gesture starts from the project, not the drawn overlay

CodeRabbit on #4411. A rotate or scale drag seeded Gesture::PuppetRotate
and PuppetScale from PinHit, whose rotation and scale come from the
overlay on screen. Since that overlay may now be one a worker rendered
for an earlier revision or time, and puppet.setPin writes an absolute
value, the drag's first frame could write a stale base back over the
pin's current turn or scale. Undo recovers the edit but not the lost
value. Before the overlay moved off the UI thread it was always current
in the frame, so this is a hazard the move introduced.

The gesture now reads the pin from the project at the press.
PuppetSource::params flattens the Puppet effect's parameters without
rendering the layer's input -- puppet::parse builds the pins from those
alone -- so pin_now costs nothing on a press.

Only Advanced and Bend pins are affected; Position pins have no
rotation. Pin movement never was, as it follows the cursor.

The test covers pin_now's contract -- the project's turn, not the drawn
one -- rather than the whole press-and-drag path, which would need a
render in flight at a precise moment.

* docs(gaps): gap 5 says the Layer panel preview is addressed

CodeRabbit on #4411. The row still described the preview as rendered on
the UI thread at every scrub step and edit, while the revision history
in the same file said it had moved off. The row now reads as addressed
for both panels, and notes that each draws its last result while the
new one renders.

* test(ui): the pin-turn test does not depend on worker scheduling

CodeRabbit on #4411. The test called overlay() again after changing the
turn and asserted the result was still the old one. That holds only
while the worker has not finished between the spawn and the try_recv
that follows it -- OVERLAY_GRACE being zero stops the frame waiting, not
the worker completing -- so the assertion was a timing one, which
rule 28 asks tests not to make.

The call is gone. The overlay a gesture would be seeded from is the one
already in hand from the previous step, and an overlay already rendered
keeps reporting the turn it was rendered for however the next worker is
scheduled. The test now asserts the relation that matters -- the turn
the project holds differs from the one that overlay holds, and pin_now
reports the project's -- against that value.

No barrier or injected pending result: the race goes away by not making
the racy call, rather than by adding a test hook to the overlay path.

* fix(ui): the Layer panel never draws another layer's picture

The panel has one render slot and drew its last texture whatever it was
rendered for, so switching layer or comp showed the old picture until the
new render landed. The slot now hands out a texture only for the same
comp and layer. Also update two comments that still said "synchronously".

* fix(ui): the Layer panel never draws a closed project's picture

Comp and layer ids restart in every project, so the render slot could
hand the last project's texture to the new one. The render key now
includes the project epoch.

* fix(ui): the Puppet overlay never draws a closed project's pins

Comp, layer and effect ids restart in each project, so the overlay
key now includes the project epoch and effect, and only an overlay
of the same ones stands in while a new one renders.

---------

Co-authored-by: Simon Hull <[email protected]>
Co-authored-by: FredApps <[email protected]>
2026-12-04 10:08:44 +01:00

ArtCraft

EffectCraft icon: an engraved unicorn on a pink tile

EffectCraft

Motion graphics and visual effects; an open-source, professional motion graphics and visual effects studio, built in pure Rust.

A free, open-source compositor: compositions, layers, keyframes, 308 effects, layer styles, expressions, 3D cameras and lights, and a render queue, native on macOS, Windows and Linux, and in the browser. Young, moving fast, and already usable.

Status: young and moving fast Written in Rust License: MIT OR Apache-2.0
Scanned by SonarCloud Reviewed by CodeRabbit

Join the ArtCraft community on Discord

EffectCraft on getartcraft.com · ArtCraft · All Crafting Apps


EffectCraft's main window: the animated demo composition in the Composition panel, the Project panel, a Timeline with text, shape and solid layers, and the Properties panel showing the selected text layer's transform, font and paragraph settings

Note

ArtCraft is a community of artists from all walks of life. Digital, generative, music, games — if you make things, you're one of us. Come say hi on Discord.

What it is · Animate · Effects · 3D · Export · Agents · Get started · Status · How it's made · Downloads · The Crafting Apps · License

What EffectCraft is

EffectCraft is for animated titles, motion graphics and compositing work: the kind of thing motion designers and VFX artists need. You build a composition out of layers (solids, shapes, text, footage, other compositions), animate their properties with keyframes, stack effects on them and render the result.

The interface feels natural and responsive, with dedicated panels (Project, Composition, Timeline, Layer, Footage, Effect Controls, Tools, Preview, Effects & Presets, Audio, Info, Paragraph, Character, Align, Progress, Render Queue) and standard motion graphics shortcuts, going further in a few places where it matters to us:

  • Lottie import and export built in, so animations can go straight to the web and apps without a plugin.
  • A project file you can read. Projects are versioned JSON (.ecproj), so they diff cleanly in version control.
  • Everything is scriptable. Menu actions, timeline edits and property changes are exposed as commands. Engine commands are available through the CLI, JSON control channel and MCP; UI-only commands use the frontend dispatcher and can be invoked through the control channel or an attached MCP bridge.
  • No FFmpeg. Video and audio decoding and encoding are pure Rust: FilmCraft's codecs and EffectCraft's own VP9, AV1, HEVC and Opus encoders.

Animate

The panels, menus and shortcuts follow standard motion design conventions: Project, Composition, Timeline, Effect Controls, Properties, Effects & Presets, Character, Paragraph, Align, Info, Preview, Audio and the Render Queue, docked the way you expect. Drag footage, comps and effects between them: onto the comp viewer, where they land under the pointer, or into the Timeline, between layers and at the time you point to.

  • Layers of every kind: solids, shapes, text, footage, nested compositions, nulls, adjustment layers, cameras and lights; parenting, track mattes, all 38 blend modes, motion blur.
  • Keyframes that behave the same: linear, Bezier, hold, auto and continuous Bezier, roving keys, Easy Ease (F9), Keyframe Velocity and Interpolation dialogs, copy and paste at the current time, and a Graph Editor with value and speed graphs and draggable handles.
  • Time: time remapping, time stretch, time-reverse, freeze frame, work area, markers, exact frame-accurate timing at every frame rate including 29.97 drop-frame.
  • Shapes and masks: shape layers with trim paths, repeaters, round corners, offset, zig zag, twist, wiggle, merge paths and gradient strokes; masks drawn with the pen tool, with modes, feather, expansion and vertex editing in the viewer.
  • Text: point and paragraph text with real shaping in any font installed on your machine, the Character and Paragraph panels, and text animators with range selectors.
  • Expressions: JavaScript with the standard motion expressions model (wiggle, loopOut, thisComp.layer("…"), vector maths on arrays), an inline editor and the pick-whip.
  • Timeline like you know it: twirl layers open to Transform, masks, effects and the rest; drag rows to reorder layers; rename with Enter or a double-click; the property shortcuts (A, P, S, R, T, M, F, E, L, U and their double presses AA, PP, SS, RR, TT, MM, FF, EE, LL, UU), Shift to add properties, Alt+Shift+A/P/S/R/T to key the current time, Ctrl+` to twirl selected layers.
  • Puppet tools: Position, Advanced, Bend, Starch and Overlap pins on a mesh built from the layer, real-time pin recording, rotate/scale handles, pins driven by (or carrying) nulls for rigging, and follow-through for hair and cloth.

The Graph Editor showing an eased value curve for a text animator's Range Start, with the graph editor's button bar for hold, linear, auto Bezier and Easy Ease

Effects

308 built-in effects across its categories, each with its parameter names, order and defaults: blur and sharpen, channel, color correction (Curves, Levels, Hue/Saturation, a full color-grading panel…), distort (Warp, Bulge, Turbulent Displace, Perspective Pin…), generate (Fractal Noise, Gradient Ramp, Stroke, Write-on, Audio Spectrum…), keying, matte, noise and grain, perspective, simulation (Particle Emitter 3D, Rainfall, Shatter, Card Dance, Caustics, Wave World…), stylize (Glow, Glass Relief…), time (Echo, Posterize Time, Timewarp, Time Displacement…), audio (Reverb, Parametric EQ, Delay, Stereo Mixer…), text, transitions, utility and expression controls. All nine Layer Styles (Drop Shadow, Inner/Outer Glow, Bevel and Emboss, Satin, overlays, Stroke) with Global Light. Preview plays audio in sync, with meters and waveforms.

3D

Classic 3D compositing: 3D layers with orientation and material options, one- and two-node cameras with depth of field, lights (parallel, spot, point, ambient) with soft ray-traced shadows, layers that intersect correctly, orbit, pan and dolly camera tools, and Front, Top, Left and Custom views.

The 3D Showcase demo in Custom View 1: intersecting cards lit by a spot light with soft shadows on a gridded floor, with the camera frustum and light drawn as wireframes

Export

A dedicated Render Queue, with Render Settings and Output Modules: H.264 MP4 and ProRes MOV (Proxy to 4444 XQ with alpha) with audio, HEVC (Main / Main 10) and AV1 MP4, WebM (VP9 with inter frames and alpha, or AV1; Opus audio), PNG, JPEG, TIFF, Targa and 32-bit EXR sequences, animated GIF and WAV/AIFF. Field rendering with 3:2 pulldown, effect/solo/guide/depth overrides, crop, region of interest and resize, Render Settings and Output Module templates with defaults, post-render actions, storage overflow and render logs. The same queue runs from the command line. Every encoder is pure Rust (craft-libs' H.264, ProRes, HEVC, VP9, AV1 and AAC; EffectCraft's own Opus); there is no FFmpeg inside.

Lottie goes both ways: File ▸ Export ▸ Lottie JSON… writes a composition (precomps, shape, solid, image, text and null layers, eased and spatial keyframes, masks, track mattes, blend modes, time remapping, optionally expressions) as .json or .lottie, and lists anything Lottie cannot express; File ▸ Import ▸ Lottie… opens one as a new composition.

The Render Queue panel with two compositions queued

Built for agents

Engine commands are available through the CLI, JSON control channel and MCP. UI-only commands need the running app's frontend dispatcher: complete menu access requires the app's control channel or an attached MCP bridge. Headless MCP sessions expose supported engine commands, but not UI-only commands or bridge-only ui_* tools.

  • MCP server: effectcraft-cli mcp speaks the Model Context Protocol over stdio, headless or bridged to the running app (--bridge 9877). Tools cover commands, the project and property tree, keyframes and rendered frames. This repository ships a ready .mcp.json.
  • Command line: one-shot calls with JSON output, for example effectcraft-cli set Main '#1' transform/position '[100,360]' --time 0 main.ecproj --save or effectcraft-cli render --comp Main --out main.mp4, or effectcraft-cli exec file.exportLottie '{"comp":"Main","path":"main.json"}' main.ecproj.
  • Control channel: effectcraft --control 9877 accepts JSON lines to run commands, inspect and click any widget by its automation id, and take screenshots.

See docs/agents.md and docs/control-protocol.md.

Get started

Installers for each version are on the Releases page: a universal macOS app; Windows MSIs and portable zips for x64, x86 and ARM64; Linux AppImage, Flatpak, deb, rpm and tar.gz for x86_64 and aarch64, plus a riscv64 tar.gz; a FreeBSD x86_64 tarball; and the web build. Downloads lists every file. The Windows ARM64 build runs natively on Windows on ARM, without x64 emulation. CI installs that MSI on Windows 11 ARM64 hardware, checks both programs are ARM64 and runs the command-line tool there, but it doesn't open the app's window or run the test suite natively on ARM64 yet, so please report anything that behaves differently.

On Gentoo, the community ::snakebyte overlay packages the Linux release as media-video/effectcraft-bin (not maintained by the EffectCraft team):

eselect repository add snakebyte git https://github.com/switch87/snakebyte-overlay.git
emaint sync -r snakebyte
echo 'media-video/effectcraft-bin ~amd64' >> /etc/portage/package.accept_keywords/effectcraft
emerge --ask media-video/effectcraft-bin

To build it yourself you need Rust 1.95 or newer.

git clone https://github.com/storytold/effectcraft
cd effectcraft
cargo run --release -p effectcraft          # the app (add `-- --demo` to open the demo project)
cargo run --release -p effectcraft-cli -- render --out intro.mp4    # render the demo headless
cargo xtask web --serve 8765                # the browser build on http://127.0.0.1:8765/ (docs/web.md)

New to it? docs/photocraft-import.md describes PhotoCraft composites and saved layer pixels. docs/footage.md covers importing footage and image sequences and Interpret Footage.

To work on it: cargo test --workspace, and the checks for the crates you changed (cargo xtask ci --affected; the full cargo xtask ci covers format, lints, tests, layering, asset attribution and the WebAssembly build). See CONTRIBUTING.md, docs/architecture.md and docs/testing.md.

Where it stands

EffectCraft is young: its first commit was on 1 October 2026. A comprehensive feature set exists, including 308 effects, but breadth is not the same as full maturity across every edge case. Today it's a good place to try things and to tell us what breaks. It isn't yet recommended for production client work. In particular:

  • Native project format. Projects are saved as .ecproj, readable versioned JSON. Proprietary project formats and After Effects SDK plug-ins are not supported.
  • Fidelity is still being refined. Automated rendering tests currently focus on small compositions, so please report visual discrepancies or unexpected behaviour.
  • macOS is the most tested platform. Linux and Windows users have hit basic interaction bugs, which we're fixing first.
  • The trained models are new. Roto Brush can use MobileSAM (an optional 40 MB download in Settings ▸ Roto Brush) and face tracking can use Google's MediaPipe Face Landmarker (an optional 3.8 MB download in Settings ▸ Face Tracking). Both are actively undergoing evaluation and tuning.

EffectCraft is in alpha: about 91% of the features tracked in docs/target-app-parity.md exist, and we estimate it is about 45% of the way to being ready for full professional production work. The ROADMAP has the plan, docs/target-app-parity.md the measurement and docs/gaps.md every known shortfall. The web build (docs/web.md) runs the full app in the browser. Bug reports are the most useful thing you can send us right now.

How it's made

  • Engine first. A stack of small crates with strict layering. The interface (egui) sits on top and nothing underneath depends on it.
  • Clean room. We work from public documentation and observable behavior, never from proprietary files, icons, presets or code. No code is copied from GPL projects. The full rules are in AGENTS.md.
  • Private by default. No telemetry, and no network access unless you ask for it.
  • One family. EffectCraft shares its time model and text engine design with FilmCraft, and gets its video and audio codecs from it.

Downloads

New to EffectCraft? Download it from the EffectCraft page on getartcraft.com. That's the easiest way to install it.

Want a specific build or format? On GitHub, the latest release has every build listed below, and all releases has earlier versions and their notes. <ver> in the file names is the version number, and SHA256SUMS.txt lists a checksum for every file.

Windows

Build Installer Portable
x64 (64-bit Intel/AMD) effectcraft-<ver>-windows-x64.msi effectcraft-<ver>-windows-x64-portable.zip
arm64 (Snapdragon and other ARM PCs) effectcraft-<ver>-windows-arm64.msi effectcraft-<ver>-windows-arm64-portable.zip
x86 (32-bit) effectcraft-<ver>-windows-x86.msi effectcraft-<ver>-windows-x86-portable.zip

Installers and executables are code-signed. The installer asks who to install EffectCraft for and where. By default it installs for your account only, into %LOCALAPPDATA%\Programs\ArtCraft\EffectCraft, without an administrator prompt; "Everyone on this computer" installs into C:\Program Files\ArtCraft\EffectCraft (Program Files (x86) for the 32-bit build). Later versions install into the same folder. To install silently into a folder of your choice: msiexec /i effectcraft-<ver>-windows-x64.msi /qn INSTALLFOLDER="D:\Apps\EffectCraft". A silent install is per-user by default. INSTALLFOLDER chooses the folder, not who it is installed for; add ALLUSERS=1, from an elevated terminal or deployment tool, for an all-users install.

macOS

Build File Notes
App, universal (Apple silicon + Intel) effectcraft-<ver>-macos-universal.dmg Signed and notarized
Command-line tool, universal effectcraft-cli-<ver>-macos-universal.zip Signed and notarized

Linux

Format x86_64 aarch64 (ARM64) Notes
AppImage effectcraft-<ver>-linux-x86_64.AppImage effectcraft-<ver>-linux-aarch64.AppImage Runs anywhere; updates itself with AppImageUpdate (.zsync files)
Flatpak effectcraft-<ver>-linux-x86_64.flatpak effectcraft-<ver>-linux-aarch64.flatpak Sandboxed; flatpak install --user <file>
Debian/Ubuntu effectcraft-<ver>-linux-x86_64.deb effectcraft-<ver>-linux-aarch64.deb
Fedora/RHEL/openSUSE effectcraft-<ver>-linux-x86_64.rpm effectcraft-<ver>-linux-aarch64.rpm
Tarball effectcraft-<ver>-linux-x86_64.tar.gz effectcraft-<ver>-linux-aarch64.tar.gz Unpack anywhere

RISC-V 64-bit: effectcraft-<ver>-linux-riscv64.tar.gz (tarball only; needs glibc 2.39+, e.g. Ubuntu 24.04+ or Debian 13+).

File drag-and-drop on Linux: The current eframe/winit 0.30 native Wayland backend does not deliver file-hover or file-drop events. On Hyprland and other native Wayland sessions, use File ▸ Import ▸ File… (which accepts multiple files), or start EffectCraft via XWayland if XWayland is installed and DISPLAY is set:

env -u WAYLAND_DISPLAY effectcraft

When the backend delivers events (X11/XWayland, Windows and macOS), dropping media anywhere in the window imports it, and a drop-target hint appears while hovering. On native Wayland the app cannot detect an attempt that generates no event; it shows a startup notice with the File ▸ Import fallback instead.

FreeBSD

Build File
x86_64 effectcraft-<ver>-freebsd-x86_64.tar.gz

Web (WebAssembly)

Build File Notes
Static site effectcraft-web-<ver>.zip Runs in a modern browser; host it on any static server

The Crafting Apps

EffectCraft is one of the Crafting Apps: free, open-source creative tools from the ArtCraft team, each written from scratch in Rust and each able to stand on its own.

App What it's for Code Learn more
PhotoCraft Image editing: layers, masks, type and real PSD files GitHub Website
VectorCraft Vector illustration GitHub Website
FilmCraft Video editing, color and sound GitHub Website
LightCraft Photo library and raw development GitHub Website
PdfCraft Reading, organizing and protecting PDFs GitHub Website
EffectCraft Motion graphics and visual effects GitHub Website
DesignCraft Page layout and publishing GitHub Website
FigCraft Interface design and prototyping GitHub Website
WordCraft Word processing and documents GitHub Website
SoundCraft Audio recording and editing GitHub Website
DeckCraft Presentations and slide decks GitHub Website
CADCraft Computer-aided design GitHub Website
GridCraft Spreadsheets and data GitHub Website
TextureCraft 3D texture painting GitHub Website
Craft Anything See how any software works, then build your own GitHub Website
SolidCraft Parametric 3D CAD by Tangency Labs (community app) GitHub

And ArtCraft itself, our AI image and video studio for artists who want real control.


Join the ArtCraft community on Discord

Come make things with us

Our Discord is where artists of every kind hang out: people who paint, shoot, draw, cut film, set type, and people still figuring out what they like to make. Share what you're working on, ask for help, tell us what's broken, or tell us what you wish these tools could do. Whatever your medium and however long you've been at it, you're welcome here.

discord.gg/artcraft · getartcraft.com · The Crafting Apps · EffectCraft

License and credits

EffectCraft is dual-licensed under MIT or Apache-2.0, at your option. Copyright (c) 2026 ArtCraft Team and the EffectCraft contributors. Required notices are in NOTICE.

Bundled fonts, icons, images and other assets keep their own open licenses; each one is listed with its author, source and license in ATTRIBUTION.md.

The ArtCraft name, wordmark and logos in docs/brand/ are trademarks of the ArtCraft Team and are not covered by this license. They may be used only unmodified, and only as part of this repository and EffectCraft, under docs/brand/LICENSE-brand.txt. Forks and modified versions must remove them.

ArtCraft
Made by the ArtCraft team and community.

Star history

Star History Chart

S
Description
No description provided
Readme
121 MiB
0 Stars 1 Watchers 0 Forks
Languages
Rust 95.9%
WGSL 1.9%
JavaScript 1.1%
Python 0.5%
Shell 0.3%
Other 0.2%