Repository navigation
Releases
Catchlight v0.5.0
Catchlight 0.5.0 adds auto-rigging from See-through layers, a standalone web player, live lip sync, and camera framing zones. Spine nodes have been removed in .clm format 6 (format 5 models auto-migrate on load). This release also reorganizes the npm packages and includes breaking Rust and protocol changes (see Removed below).
New
- Auto-rigging from layered art. Turn See-through V3 exports (PSD or layer folder) into a rigged
.clmmodel with blinks, head and body turns, hair motion, and speech. Use "Import from layers" in the editor,catchlight-editor rig, or the newcatchlight-auto-rigcrate. By default, the editor draws closed eyes and mouth shapes with OpenAI's paid image API, using your own API key. You can turn either off or use your own pictures. On the command line, add--gptto draw them. Complex characters may still need manual cleanup. - Standalone web player (
@catchlight/player). Embed and play.clmcharacters on a canvas without shipping the editor, cutting the WASM bundle roughly in half.Player.createrenders with WebGPU or WebGL2 and handles animation playback, expressions, humanoid controls, and camera framing. - Live lip sync. Drive a character's mouth from live audio using
startLipSyncin@catchlight/playerorLipSyncincatchlight-extension-expressions. On the web, it works with microphones, media streams, and<audio>/<video>elements, with optional audio delay so sound stays in sync with the mouth. Uses a compact built-in neural model by default, or a formant-based mode that needs no model weights. - Zones and landmarks. Tag body zones (
head,full_body) and pin landmarks (chest,waist) to vertex slots so apps and players can frame a character cleanly in any pose. Edit them in the Controls panel or withcatchlight-editor humanoid, or define custom keys such asmystudio.tail. catchlight-cli migrate. Rewrites older.clmfiles to format 6. Format 5 models also auto-migrate on load, dropping spine nodes and their bindings while keeping child nodes in place, and report what changed.- Animation lead-outs.
AnimationPlayer::releaseexits a looping clip cleanly by playing its lead-out once and holding the final frame. - Bevy multi-camera support. Puppets now respect each camera's viewport and
RenderLayers.
Fixed
- Hardened local editor.
catchlight-editornow opens the browser with a single-use launch code that expires after 60 seconds, restricts file access to one root directory, and rejects shared-writable socket directories. - Isolated edit panics. A panic during an edit now closes only that session with an error instead of taking down the editor server.
- Stricter file and request validation. The
.clmreader rejects non-finite meshes and colors, duplicate sections, IDs over 512 bytes, and node trees deeper than 256 levels; puppets ignore non-finite param values. The editor rejects unknown request fields, manifest keys, and node kinds. - Safer mesh generation. Overly dense mesh requests fail fast instead of stalling, with caps of 65,536 vertices per part plus bounded spacing and margin. Margins also no longer distort grid meshes.
- Performance improvements. Faster mesh dragging, refitting, pose recording, weld deformation, animation playback, and texture mipmap generation.
- Session tracking and launcher exit codes.
catchlight-editorCLI commands no longer reuse a remembered session ID from a different editor instance, and stopping the launcher with a signal now exits with that signal's code.
Removed
- Spine nodes (
.clmformat 6). Removed the spine node kind along with its editor UI, CLI fitting commands, and ReactSpinePanel. Use mesh groups with motion responses instead. Older versions of Catchlight cannot open format 6 files. - Replaced npm packages (
@catchlight/core,@catchlight/react,@catchlight/editor-ui). Use@catchlight/playerfor playback only. For editing,@catchlight/editor-corereplaces@catchlight/core, and@catchlight/editor-web(with@catchlight/editor-web/theme.css) combines@catchlight/reactand@catchlight/editor-ui. Both editor packages require@catchlight/playeras a peer dependency. --storeflag and open HTTP binding by default. Renamed--storeto--rootincatchlight-editorandcatchlight-editor-server(defaulting to the opened model's directory or the current directory). Listening on a non-local HTTP address incatchlight-editor-servernow requires--allow-remote.catchlight-coreloading and model API changes. Loading now returnsLoadError,ReadOptionsreplaces separate fragment and budget readers, model errors carry typed IDs, andModelNodefields live under.propertiesinstead ofDeref. Custom extensions can no longer registercatchlight.*keys.catchlight-wgpusetup API changes.GpuContextreplaces the standalone setup helpers,SurfaceContext::acquirereturnsAcquired, andRenderTargetinfers its size from the view. Configure masking viaStencilMode;CATCHLIGHT_DISABLE_STENCILhas been removed.- Editor protocol and WASM replica changes. Protocol Rust types have changed. On the WASM replica,
needs()replacestexturesNeededandextensionsNeeded,scratchTransformtakes optional fields, and playback methods (play,setParam, etc.) moved toreplica.player(). Pass that player toViewportand free it alongside the replica. - Rust versions before 1.98. Minimum supported Rust version is now 1.98.
Catchlight v0.4.0
This release fixes animation timing and makes the file reader, the importer and the editor server refuse malformed input instead of hanging or crashing. It includes breaking changes for Rust callers of catchlight-core, catchlight-wgpu, catchlight-bevy and catchlight-extension-animations (see Removed below).
New
- Motion-driven params in the editor. Params that a motion response drives now appear in their own "Driven by motion" group as live readouts, each naming the response that drives it. Pause motion from the dock header to pose them by hand.
- Vertex slots. The editor, CLI and error messages now call a named vertex a "vertex slot", so it is clear what a weld or motion response refers to.
- Bevy scheduling. Order your own systems before the puppet tick with the new
CatchlightSystems::Ticksystem set. - Driver in
param list.catchlight-editor param listshows which motion response drives each param.
Fixed
- Looping clips keep time. Looping animations ran about 12% fast at 60 Hz and froze on their last frame on high-refresh displays. A loop now keeps its exact length at any frame rate.
- Model edits in Bevy. Editing or hot-reloading a model no longer blanks the puppet for a frame, re-uploads every texture, or restarts its animation.
- Large models in the browser editor. Models with more than 2,048 textures failed to sync to the editor tab.
- Malformed
.clmfiles. A crafted file could hang the reader. Slot lists and texture manifests are now checked before any work is done. - Broken imports are refused. An
.inxfile with a malformed mesh array or a ragged binding matrix is now refused with an error that names the bad element. Before, it imported a silently wrong mesh or ran out of memory. - Editor server stability. Oversized preview, spine-fit and mesh generation requests are refused instead of crashing the editor. The server keeps running after a failed connection, and an editor that was killed no longer blocks the next one from starting.
- Safer saves. Models, review threads, saved versions and rendered files are written to a temporary file and moved into place, so a crash or two saves at once can no longer leave a truncated file.
- Render output permissions.
catchlight-cli renderwrote images, videos and manifests readable only by their owner. They now get normal file permissions. - CLI in pipelines.
catchlight-cli ... | headexits quietly with status 141 instead of printing a panic. A second Ctrl-C interrupts a render that is stuck, andposesandextension getrefuse to write over their input model. - Clearer CLI errors. File errors name the file, and
catchlight-editorreports a mistyped argument before it tries to connect. - Renderer robustness. A surface the adapter cannot draw to returns an error instead of panicking, BGRA targets read back with the right colours, and GPU validation errors in the browser are logged instead of freezing the tab.
- Private socket directory. The editor's default socket directory is created private to its user and refused if someone else owns it.
- LivLiv packages under a symlinked folder. Packages inside a symlinked directory (such as
/tmpon macOS) now import.
Removed
- Windowing features in
catchlight-bevy. The crate no longer turns on Bevy'sbevy_window,bevy_winitandx11features. Enable them in your app, asDefaultPluginsusers already do. - Renderer auto-detect constructors.
WgpuRenderer::new_autodetectandPipelines::new_autodetectare gone;newnow picks the right mask path and instancing mode for the device's backend.configure_surfacereturns aResult. - Public keyframe field.
Lane::keyframesis private. Build lanes withLane::new, which keeps keyframes in frame order, and read them withkeyframes(). - Loose helpers in
catchlight-core.target_of,scalar_cells,deform_cellsandmask_mode_nameare now methods on the types they describe.LoadLimitError::resourceis aLoadResourceinstead of a string,Extension::refs_mutreturns a slice, andWeld,WeldPairand theDeformStack::vert_countfield are no longer public. - Rust 2021 builds. All crates now use Rust edition 2024. They are built and tested with Rust 1.98.
Catchlight v0.3.0
This release includes breaking changes for Rust callers of catchlight-core and catchlight-wgpu, as well as .clm files that contain animations (see Removed below).
New
- Review threads. Leave comments on any part of your model in the editor and send them to an AI agent to edit the model live and reply on each thread.
- Saved versions. Save numbered versions of your model, view older ones read-only next to the live model, and restore any of them in a single undoable step.
- Redesigned editor. A single top bar, edge-to-edge canvas, and tighter panels leave much more room for your model on screen.
- Humanoid controls. Map your model's params to 35 standard face and body controls with
catchlight.humanoidso any tracking source can drive any compatible model. - Expressions and visemes. Define named expressions and 21 standard visemes using
catchlight.expressions, where speech automatically layers over your active expression. - Portable animations. Animation clips can now drive humanoid controls, expressions, and visemes directly, so clips for blinking, smiling, or talking work across any model that supports them.
- Controls, Expressions, and Animations tabs. Map humanoid controls, edit expressions and visemes, and play clips right from the editor dock while seeing changes live in the viewport.
- Controls and expressions in the CLI. Manage humanoid mappings, expressions, and visemes from
catchlight-cliandcatchlight-editor, and pose renders directly with--control,--expression, and--viseme. - Reference-aware extensions. Custom
.clmextensions can now reference nodes, params, textures, and slots that stay up to date across renames, with no per-extension size limit. - Faster puppet creation. Creating a puppet is roughly 40x faster on 100-part models, and extra puppets of the same model share the bake so they spin up almost instantly.
Fixed
- Stepped keys. Stepped bindings and animation lanes sitting directly on a key now use that key's value instead of falling back to the previous one.
- Helpful Git LFS errors.
catchlight-clinow spots unfetched Git LFS pointer files and tells you how to pull them instead of failing with a raw magic-bytes error. - Stricter
.clmvalidation. Files with duplicate binding keys, self-masking nodes, or non-finite values are now rejected on load rather than breaking at runtime. - Addon uninstall and subtree duplication. Uninstalling an addon now cleans up everything added beneath its nodes, and duplicating a subtree brings its welds along with it.
- Large
.clmfiles. Models can now load up to their full size limit instead of hitting it halfway, and saving catches oversized sections before writing an unreadable file. - Max-size opaque textures. Fully opaque textures at your GPU's maximum size now upload cleanly instead of being rejected.
- Multi-view submissions. Drawing multiple views in one submission no longer lets later views overwrite earlier ones' transforms, opacity, and tint.
Removed
- Built-in core animations. Animations now live in the
catchlight.animationsextension and play throughAnimationPlayer, so older.clmfiles will drop their stored clips on load and need to be re-imported or re-authored. catchlight-coreAPI changes. Error enums andLoadLimitsare now#[non_exhaustive],update_node_kindonly edits fields on the node's current kind, and several unused functions and types have been removed.catchlight-wgpuAPI changes. Rendering now goes throughRenderTargetandFrameTargets, all entry points returnRendererError, and internal GPU types are now private behindRenderCache.
Catchlight v0.2.2
New
- Standalone local editor app. Run the Catchlight editor directly on your
desktop with zero setup. Runningcatchlight-editor(or simply
npx @catchlight/editor) launches the visual web editor on127.0.0.1and
opens it in your default browser. It introduces an interactive, multi-actor
workflow where you can visually inspect and edit 2.5D character models in
real time while an AI coding agent works alongside you on the exact same
session. Prebuilt native binaries are available for Linux (x64, arm64),
macOS (Apple Silicon, Intel), and Windows (x64) via standalone install
scripts or Cargo. - Real-time AI agent collaboration. Pair directly with AI coding assistants
to automate model inspection and rigging. Runcatchlight-editor guideto
view agent workflows, or install the official agent skill (npx skills add hyperlogue/catchlight --skill edit-catchlight-model) so assistants like
Claude or Antigravity can query parameters, pose deformation meshes, adjust
dynamics, and apply edits live inside your running editor session. - Cross-platform Windows and macOS support for the editor & CLI. The editor
server andcatchlight-editor-clinow communicate over local HTTP with
automatic discovery in addition to Unix sockets. This brings full interactive
model editing, command-line control, and agent automation to Windows and macOS
without requiring Linux or WSL. - Lossless video export with alpha transparency. The animation renderer
(catchlight-cli render --animation) now supports exporting to FFV1 video in
a Matroska container (.mkv). This provides true bit-for-bit lossless video
output while fully preserving alpha transparency, making it ideal for
archival, professional compositing, and video editing workflows alongside
existing MP4, WebM, and GIF export formats. - Bundled WebAssembly in
@catchlight/core. The core web package now ships
with the compiled WebAssembly engine bundled directly under
@catchlight/core/wasmalongside an explicit initialization loader. This
eliminates separate WASM build and distribution steps when embedding
Catchlight character rendering into web apps. - Expressive face tracking with eyebrow dynamics. The interactive webcam
demo now tracks and drives character eyebrows to faithfully mirror your facial
expressions, paired with improved jitter filtering for noticeably smoother
and more stable real-time face puppeteering.
Removed
- Embeddable React editor component renamed to
@catchlight/editor-ui. The
embeddable React component library has moved from@catchlight/editorto
@catchlight/editor-uito reserve the@catchlight/editorpackage name for
the standalone local editor app. Existing web integrations should import
CatchlightEditorand its theme stylesheet from@catchlight/editor-ui
(e.g.,import { CatchlightEditor } from "@catchlight/editor-ui"and
@catchlight/editor-ui/theme.css).
Catchlight v0.2.1
See CHANGELOG.md.