Changelog

Every Mografy update.

What changed in open-source Mografy, newest first. Update any time with one command.

Current versionReleased

Mografy Triangulum v0.1.2

How to update

Run this inside your mografy folder. It updates Mografy and its Skill to the newest version; your projects stay as they are.

npx mografy@latest
Setup guide

All updates

v0.1.2

Mografy Triangulum ·

Latest release

Changed

  • Every command in the docs is npx mografy …
  • Simpler MCP setup
  • Library projects stay in the library

Removed

  • mografy install-command
Full release notes

Changed

  • Every command in the docs is npx mografy … — the README, docs/, the Skill and the template, extras and reference-film READMEs now write each command as npx mografy dev, npx mografy check, npx mografy export and so on. In a folder made by npx mografy@latest init, mografy on its own is not on PATH, so an agent following the Skill no longer runs into "command not found". Inside a Git checkout, npx mografy runs that checkout. Only the optional global install (npm install -g mografy) gives you a bare mografy command.
  • Simpler MCP setup — npx -y mografy mcp starts the server from any folder, and MOGRAFY_PROJECT names the project it opens by default, so Claude Desktop and other apps no longer need the full path of the command: claude mcp add mografy -- npx -y mografy mcp in your mografy folder, or codex mcp add mografy --env MOGRAFY_PROJECT="$PWD" -- npx -y mografy mcp. On Windows, put cmd /c in front of npx.
  • Library projects stay in the library — a project in the projects library is always listed there, whether or not you have opened it, instead of moving to Recent and leaving the library section empty.

Removed

  • mografy install-command — pnpm install in a checkout no longer puts a mografy launcher on PATH. Run npx mografy … in the checkout or project folder, or install globally with npm install -g mografy.

v0.1.1

Mografy Triangulum ·

Added

  • npx mografy@latest init

Fixed

  • mografy dev from any folder
Full release notes

Added

  • npx mografy@latest init — the new way to start: it creates a mografy folder with a new project and installs Mografy and its Skill for Claude Code, Codex and other agents into that folder, not globally; then cd mografy and npx mografy dev (or npm run dev), and describe the animation to your agent in that folder. To update, run npx mografy@latest in the folder: it moves its Mografy and Skill to the newest version and opens the player. init <folder> names the folder, and deleting the folder removes everything. npm install -g mografy and npx skills add mografy/mografy -g remain as the optional global route. Its exports use an FFmpeg downloaded into the project (node_modules/.cache/mografy/tools) the first time, never the one on PATH, and checks use Chrome or Edge as before.

Fixed

  • mografy dev from any folder — run outside a project (for example in ~/Documents, or as npx mografy@latest dev), it now opens the player with the built-in components and your library (the last project you opened there) instead of stopping with "No mografy.json found". It never reopens a project from another repository. check, review and export still ask for a project, and mografy dev <path> still reports a path that is not a project.

v0.1.0

Mografy Triangulum ·

Added

  • A new editor
  • Layers for every film
  • How-to films
  • Design system panel
  • MCP server

Changed

  • Slim installation
  • Present mode removed
  • No Playwright at runtime
  • The agent Skill installs on its own
  • The Skill, reorganised
  • Repository moved
  • Install with npm
  • One place for installation paths
  • FFmpeg on first export
  • Headless shell only
Full release notes

The first numbered release.

Added

  • A new editor — a layer timeline: drag a layer to move it, drag its ends to trim it, and duplicate, hide, lock, rename, reorder or recolour it; each layer has an enter and an exit motion (fade, fade up, pop, blur in, wipe). Edits snap to beats, the playhead and other layers, can be undone, and are saved to scenes/timeline.json, so the scene code is never changed. ⌘K searches projects, layers and commands; the gear opens settings for language, playback, text size, shortcuts and MCP.
  • Layers for every film — a scene that marks its shots (meta.shots, or slides.shots left in an older mografy.json) gets one layer per shot with no change to its code. Moving a shot moves only that shot: a gap shows the background, and where shots overlap the one that starts later is on top. Scenes declare their own layers with timeline() from @mografy/runtime; the Skill's new layers reference explains how.
  • How-to films — the Skill's new how-to reference teaches a product task as an animation with one clip per step, for help centres, in-app hints and onboarding, plus a full cut. When you ask and give a test account, Claude or Codex operate the product with their built-in browser or computer use and capture every state; otherwise they work from your screenshots. The steps are redrawn with the walkthrough kit, each shot starts and ends on a still frame, and the export is cut into numbered step clips with stills and captions.
  • Design system panel — colour, motion, timing and type for the open film, beside a frame that plays: swap any colour the film draws (saved as colors in mografy.json and used by the player, review and every export), apply a motion to every layer at once or per layer, set each layer's start and length, and try the scene's number controls.
  • MCP server — mografy mcp runs a local MCP server over stdio, so Claude Code, Codex and any other MCP client can make and check films through tool calls: list_projects, project_info, create_project, read_source, write_source (compiled and trial-rendered before anything is saved), check (with the motion scan), render_frame, review, open_player, export (with progress and cancelling) and read_guide (the Skill). While the editor has the project open, the tools work through it, so you see each change there. Connect it with claude mcp add mografy -- mografy mcp or codex mcp add mografy -- mografy mcp.

Changed

  • Slim installation — the install steps now check out only what the tool runs on (about 10 MB instead of about 240 MB with Git history). Templates, extras and the ten Stage reference films stay in the same repository and download from GitHub the first time mografy add needs them; examples/catalog.json lists each film's files. A full git clone still works, and git sparse-checkout disable turns a slim checkout into a full one.
  • Present mode removed — Mografy concentrates on making films: the Present mode, its slides, the presentation page, mografy export --format html and pnpm sync:slides are gone, with the Skill's presentations reference. Shots stay: meta.shots still marks each shot on the timeline, and mografy review now writes review-<version>-shots.png with each shot's stop frame (only for scenes that mark shots; Mografy no longer guesses them). A slides entry an older project has in mografy.json is kept and ignored.
  • No Playwright at runtime — Mografy now drives Chromium itself over the Chrome DevTools Protocol (a pipe, no port), so the installation no longer carries Playwright (about 19 MB). It renders in Playwright's headless shell when one is installed, as before, else in the Google Chrome or Microsoft Edge already on the computer, and downloads the shell only when there is neither. MOGRAFY_BROWSER points at any Chromium; PLAYWRIGHT_CHANNEL=chrome or msedge still works. The tests keep using Playwright to drive the player.
  • The agent Skill installs on its own — the npm package no longer carries the Skill: install it once with npx skills add mografy/mografy -g (the skills CLI; npx skills update keeps it current), for Claude Code, Codex and other agents in every folder. mografy dev from the npm package says so when no agent can find the Skill, and project AGENTS.md pointers name the same command. A checkout keeps generating its own Skill in .agents/skills/mografy, which is also what the skills CLI installs from GitHub.
  • The Skill, reorganised — the shared Skill sends each kind of job (fix, new film, product film, craft, editor round trip, output) to its references through one shorter table, documents the MCP tools in a new references/mcp.md (agents change scenes through write_source, which saves only what compiles and trial-renders), and states the editor rules again: never write scenes/timeline.json or colors by hand, never rename a layer id that has edits. Project AGENTS.md files point to the installed Skill instead of a source checkout; unedited older ones are replaced on the next mografy dev or update.
  • Repository moved — Mografy now lives at github.com/mografy/mografy. Old links and Git remotes redirect; git remote set-url origin https://github.com/mografy/mografy.git points a checkout at the new address.
  • Install with npm — npm install -g mografy (or npx mografy dev to try it) installs Mografy without Git: a package of about 2 MB (about 65 MB with its dependencies) holding only the built packages, the built-in components and the intro. pnpm pack:cli builds it from a checkout. It installs projects to ~/Mografy, downloads FFmpeg and the Chromium shell on first use, and updates through npm. pnpm test:package installs and runs it. See docs/npm-package.md.
  • One place for installation paths — every folder Mografy reads from its installation (built-in components, previews, reference films, runtime types, Skill, entry script) now comes from installation in @mografy/server.
  • FFmpeg on first export — FFmpeg is no longer installed with Mografy. Video exports use ffmpeg on PATH when it has every encoder they need, otherwise the first export downloads a pinned static build (checked by SHA-256, cached in ~/.mografy/tools, shared by every installation) and the player shows the download as the first export stage. mografy setup downloads FFmpeg and the Chromium shell ahead of time; mografy setup --check shows what is used.
  • Headless shell only — pnpm install downloads Playwright's headless Chromium shell instead of the full Chromium; checks and exports already ran on the shell. Older installations can drop the full Chromium with pnpm exec playwright uninstall and pnpm install.

Added

  • Traditional Chinese and English in the player
  • Full screen and an adjustable preview

Fixed

  • mografy update blocked after every update on Windows
  • mografy update could leave the old build running
  • mografy update on Windows, part 2
  • The mografy command on Windows
  • mografy review and mografy export --cancel now name the project they mean
Full release notes

Added

  • Traditional Chinese and English in the player — every label in the player and editor follows the browser's language; the globe button in the top bar switches it and the choice is remembered.
  • Full screen and an adjustable preview — F or the corner button shows the film alone, with controls that step aside while it plays. Zoom with the − / + buttons, the zoom menu, + - 0 1, or ⌘-scroll and pinch; drag a zoomed preview to look around it; drag a corner of the preview to resize it. The side panels and the timeline have dragging dividers, and dragging the timeline's far enough down folds it away.

Fixed

  • mografy update blocked after every update on Windows — generators rewrote files with different line endings, which Git reported as changed with an empty diff. A file that differs only in line endings is no longer rewritten, generated files have a fixed line ending, and update clears this state by itself. If your update already stops with Local changes found, run this once in your Mografy folder, then update:
  git add .agents/skills/mografy packages/core/src/skill-text.ts
  • mografy update could leave the old build running — pnpm skips postinstall when only source files changed, so nothing was rebuilt. update now always runs it.
  • mografy update on Windows, part 2 — it no longer needs pnpm.cmd in particular, reports a missing pnpm before anything changes, ignores a lock left by a closed terminal, and is safe when it rewrites the mografy.cmd it was started from.
  • The mografy command on Windows now uses the Mografy folder around the current one, like on macOS and Linux, when the folder it was installed from is gone.
  • mografy review and mografy export --cancel now name the project they mean, so they cannot act on another project the player switched to.

Read the post about this update

Added

  • Mografy Stage
  • Loop seam check

Changed

  • Installed films: Stage and the intro only
  • The Skill reads the showcase list when it needs a reference film the installation does not have
Full release notes

Added

  • Mografy Stage — short product UI films that read as a real product, simplified to what the viewer needs, framed with intent, with a cause for every motion. mografy add stage <project> copies extras/stage/stage.ts:
    • A script over state. play(initial, [wait, click, tap, drag, type, set, focus, mark…], { layout }) compiles once into a timeline: cursor moves take time by distance on a shallow arc, a click's change lands on the press, focus pushes the camera in and back. show.at(time) samples it, so drawing stays a pure function of time; s.on() / s.is() / s.num() make parts move in and out instead of popping.
    • A kit from one look. Windows (app, browser, tabs, the newer macOS tahoe, quiet card), phones with lock screen and notifications, pin() to crop a window off two edges, sidebar nav, buttons, badges, fields, menus, toasts with an action, digits that roll only where they changed, objects that fly into a slot, layered shadows, cursors that change shape over what they point at. Four looks (light, dark, blueprint, minimal); words decides how many real words stay and turns the rest into placeholder lines.
    • Checks that fail loudly. A loop that does not return to its first state, cursor and camera is refused with the reasons; text that overflows its box throws with both widths.
    • Ten reference films: stage-invoices (16:9, four looks), stage-phone (9:16, taps), stage-dashboard (dark, the newer macOS window), stage-bento (a bento grid as one picture), stage-calendar (drag with a snapping target), stage-upload (blueprint diagram with annotations), stage-command (keyboard only), stage-checkout (browser with tabs), stage-request (web and phone together) and stage-snooze (feature card). mografy add stage-invoices <folder>.
    • Good and bad side by side: stage-invoices has a Variant parameter that draws the same story the five ways faux UI fails (too-much, too-little, boxed, flat, bland).
    • Kit additions for these: ui.key (keycaps), ui.callout (annotations), ui.card; s.cursor.dragging / lift for carried objects; taps no longer move the cursor in films that mix both; play(..., { pointer: false }) for films without a cursor; words: 'none'.
    • Skill reference ui-stage.md: the five ways faux UI fails, the seven-step workflow, the script and kit, review checklist.
  • Loop seam check — set loop: true in a scene's meta and mografy check --motion also compares the last frame with the first (loop seam clean, or a *Loop seam* warning).

Changed

  • Installed films: Stage and the intro only. examples/ now holds the ten stage-* films and mografy-intro. The longer reference films moved to the website's showcase: film-starter, mografy-montage, mografy-triangulum, mografy-story, analytics-product, follow-interaction, mografy-brand and the paper theatre films (paper-theatre-shadow, -gestalt, -aesthetic-usability, -ringelmann, -adhd, -moon-rabbit-opera, -sea-moon). They are no longer downloaded with the repository; mografy add <name> [folder] downloads one from the showcase into your library, and mografy add lists them under *Showcase films*. The two 2D Lunar Pop Club films (paper-theatre-moon-rabbit, paper-theatre-moon-rabbit-story) were removed; the 3D opera version stays on the showcase.
  • The Skill reads the showcase list when it needs a reference film the installation does not have, and film-starter is downloaded the same way.

Read the post about this update

Added

  • Batch export

Improved

  • Export memory
  • Use less memory
  • Each H.265 segment's encoder now gets its share of the cores instead of sizing itself for the whole machine
  • A batch shares one Chromium across projects instead of starting one per film
  • Ctrl+C during a CLI export now cancels cleanly and prints the result

Fixed (Windows)

  • Ctrl+C in a batch: Windows also sends it to FFmpeg and Chromium
  • An export no longer fails at the very end when Windows still holds the temporary folder locked
  • The hardware encoder test gives up after 20 s and falls back to software
  • FFmpeg runs without opening a console window
Full release notes

Added

  • Batch export — export many films in one go instead of one by one.
    • CLI: mografy export <project> <project>..., or mografy export --all [folder] for every project in a folder (default: your projects folder; folders starting with _, such as _to_delete, are skipped). Same options for each (--preset, --format, --resolution…). A project that fails is reported and the batch goes on; Ctrl+C cancels the current export, stops the batch and prints a summary.
    • Player: Batch next to Export in the top bar (or *Export several projects…* in the export dialog) opens the batch export dialog. Tick films from every project on the computer on the left, choose a format (MP4, WebM, MOV, Lottie, SVGA), the encoder (each project's own, Share, High or Fast), resolution (each project's own, 720p or 1080p by the shorter side, so 16:9 and 9:16 films keep their shape) and frame rate, with *Use less memory* and *Include music* as switches; *You'll get* previews the files. Films export one after another in the background: the dialog shows the frame being captured with a scan line and a strip of captured frames, and the queue beside it. Close the dialog and a card in the bottom-left corner keeps the progress; switching projects does not stop it. Cancel one film or all.

Improved

  • Export memory — workers: auto now also looks at the computer's memory: the shared Chromium and Node take about 0.9 GB and each capture segment about 1.3 GB at 1080p, and auto plans for at most 40% of the memory (8 GB: 1 segment, 16 GB: 4). Measured on 4 cores: going from 2 to 4 segments added 3 GB without any speed gain.
  • Use less memory — --workers 1 on the CLI, or the *Use less memory* switch in the batch export dialog: one segment per film. Measured: 4.0 GB → 2.4 GB peak, about 20% slower.
  • Each H.265 segment's encoder now gets its share of the cores instead of sizing itself for the whole machine, and looks 10 frames ahead instead of 20: about 250 MB less per segment, the same look (SSIM 0.9999 against the previous export) and a slightly smaller file.
  • A batch shares one Chromium across projects instead of starting one per film.
  • Ctrl+C during a CLI export now cancels cleanly and prints the result, instead of Chromium being killed first.

Fixed (Windows)

  • Ctrl+C in a batch: Windows also sends it to FFmpeg and Chromium, so the current film used to be reported as failed and the batch went on to the next one with a dead Chromium. It is now reported as cancelled and the batch stops.
  • An export no longer fails at the very end when Windows still holds the temporary folder locked (just after FFmpeg exits): removal retries and a leftover folder is ignored.
  • The hardware encoder test gives up after 20 s and falls back to software, instead of hanging the export on a broken graphics driver.
  • FFmpeg runs without opening a console window.

Read the post about this update

Added

  • Export presets
  • MOV (ProRes) format
  • Hardware encoding on every platform
  • GPU-drawn frames on Windows
  • Advanced settings
  • scripts/bench-export.ts

Changed

  • Faster exports
  • H.265 is 10-bit
  • Audio is 48 kHz
  • Adaptive samples
  • Colour conversion
  • Two-pass target bitrate

Fixed

  • Windows exports
  • Odd video sizes
  • Exports work in the project's .mografy/tmp/ instead of the system temp folder
Full release notes

Video export rebuilt for speed, quality and Windows. See After updating for what to do next.

Added

  • Export presets — pick what the file is for instead of codec settings. Encoder row in the Export dialog, or mografy export <project> --preset …:
PresetOutputUse it for
shareMP4, H.264Any browser, Windows PCs, chat apps, social uploads
high (default)MP4, H.265 10-bitThe smallest file at the same look; Apple devices, Chrome and Edge
fastMP4, hardware H.265 10-bitThe quickest export, drawn and encoded on the graphics card
masterMOV, ProRes 422 HQEditing in Final Cut, Premiere or DaVinci Resolve
  • MOV (ProRes) format — --format mov, or MOV in the Export dialog. 10-bit 4:2:2 with uncompressed 48 kHz audio; large files.
  • Hardware encoding on every platform — VideoToolbox on macOS; NVIDIA NVENC, Intel Quick Sync and AMD AMF on Windows; NVENC, VA-API and Quick Sync on Linux. Mografy tries each with a tiny test encode and uses the first that works; without one it encodes in software and says so. The finished export shows the encoder that wrote it, in the dialog and the terminal. VideoToolbox is measured; the Windows and Linux encoders are new and their quality setting is a first calibration, so please report how fast looks and how long it takes on your graphics card.
  • GPU-drawn frames on Windows (Direct3D 11), as on macOS (Metal). Elsewhere frames are drawn on the CPU.
  • Advanced settings — shutter angle (360° by default; 180° gives shorter, film-like motion blur), dither gradients (hides banding in soft gradients and glows), hardware quality (1–100), and Auto parallel workers. In mografy.json, render.sampleWindow: "centred" also places each frame's motion samples around its own time, in step with the audio. All settings are listed in Configuration.
  • scripts/bench-export.ts — times exports and scores them (size, SSIM, VMAF) against a lossless reference. Results for this release are in docs/STATUS.md.

Changed

  • Faster exports — constant quality is now the default and is encoded while frames are drawn, with no lossless intermediate file; still frames are drawn once instead of once per motion sample; only the part of each frame that changed leaves the browser. The 12-second intro at 1080p60 went from 26.2 s to 21.5 s (H.265) and from 21.9 s to 17.7 s (H.264) at the same quality, and takes 14.9 s with fast. Scenes with heavy glow gain less in software; use fast there.
  • H.265 is 10-bit (Main 10): smoother gradients at the same size.
  • Audio is 48 kHz, the rate video platforms and editors expect.
  • Adaptive samples (off by default) now judge how far a change spreads, so a small, fast object keeps its full motion blur instead of turning into two copies.
  • Colour conversion uses exact rounding and full chroma, so thin coloured text keeps cleaner edges.
  • Two-pass target bitrate moved to Advanced settings. It is slower than before for H.265 because H.265 is now 10-bit.

Fixed

  • Windows exports — FFmpeg now receives only file names relative to its work folder, so drive letters (C:), spaces, apostrophes and backslashes in a project's path can no longer break an export. Finished files that a virus scanner holds for a moment are retried instead of failing.
  • Odd video sizes are refused before the export starts instead of failing in the encoder.
  • Exports work in the project's .mografy/tmp/ instead of the system temp folder, so the finished video moves into renders/ without a copy, and two-pass checks free disk space first.

Unchanged

  • Existing films look the same. Shutter 360°, sample timing, dither off and adaptive samples off are the defaults, so frames are drawn exactly as before. Settings saved in a project's mografy.json (for example "encoding": "two-pass" or "workers": 2) are kept; only projects that never set them get the new defaults (constant quality, Auto workers).
  • WebM, Lottie and SVGA exports, the 60 fps video limit, and every CLI flag that existed before (--codec h264 still works).

After updating

  1. Update: mografy update updates the checkout, rebuilds it and restarts the active player. In an older installation without update, stop the player, run git pull --ff-only and pnpm install, then reopen with mografy dev.
  2. If you started mografy dev yourself, stop it and start it again so the player uses the new export.
  3. Optional: choose a preset in the Export dialog, or try one from the terminal with mografy export <project> --preset fast. A project that saved "encoding": "two-pass" or a fixed "workers" keeps them; pick a preset or change them in mografy.json to use the new defaults.
  4. Windows with an NVIDIA, Intel or AMD graphics card: keep the graphics driver current. If fast reports that it encoded in software, set MOGRAFY_FFMPEG to an FFmpeg build that includes your card's encoder.

Added

  • mografy check --motion
  • The Skill's performance reference
Full release notes

Added

  • mografy check --motion finds choppy motion that frame cost cannot see. It draws the whole film at 30 fps at quarter size, compares each frame with the next and lists the times of jumps (one frame changes far more than its neighbours: a pop, two tracks that do not meet, a hard cut), hard starts (motion leaves a still frame at full speed) and hard stops (motion halts at full speed: chained eases, a fade that ends above 0). A deliberate cut may stay. About 15 s for a 60 s film on a cloud CPU.
  • The Skill's performance reference now separates slow frames from choppy motion, with a checklist for each, the causes and fixes of each kind of choppy moment, more costly patterns (re-drawing static UI cards, per-pixel grain) and three Canvas gotchas. The Skill runs mografy check --motion before delivery.

Changed

  • MP4 exports use H.265 (HEVC) by default
  • The compression helper also writes H.265
  • Projects open without waiting for the trial render
  • Switching between projects

Added

  • extras/cjk/subset-film-fonts.py <project>

Fixed

  • The wrong soundtrack after switching projects
Full release notes

Changed

  • MP4 exports use H.265 (HEVC) by default — about half the file size at the same look (50–58 % of the H.264 size at the same CRF in tests on a 3D paper-texture film and a 2D motion film). Files are tagged hvc1, so they play in QuickTime, Safari, iOS and Android, Chrome and Edge, and upload to YouTube, Instagram and TikTok. Firefox and some Windows PCs play HEVC only with hardware or the HEVC Video Extensions; for a website <video> or files sent to unknown players, choose Codec → H.264 in the Export dialog, mografy export --codec h264, or "codec": "h264" under render in mografy.json. CRF and bitrate keep their H.264 meaning, so existing projects keep their quality settings. The bundled FFmpeg already includes the encoder; Encoding takes about as long as before: the slow encoder speed uses x265's medium preset, which is as fast as x264's slow and already compresses better.
  • The compression helper also writes H.265 by default (--codec h264 for the previous output).
  • Projects open without waiting for the trial render. Opening reads the scene's meta and params and shows the film at once; the full trial render runs a few seconds later in the background and still reports a broken scene. Its result is saved in .mografy/verified.json, so an unchanged scene reopens with no Chromium work at all. Edits still wait for their trial, so a broken edit never replaces a working version. Opening the 74-second 3D film *aesthetic-usability* went from 45.8 s to 0.5 s in the test workspace.
  • Switching between projects — the player keeps the last two projects loaded (hidden), so switching back to one of them is immediate (about 1 s instead of a full setup), and a project that is still loading shows its saved thumbnail instead of the previous film. Thumbnails are captured a little later, so they no longer compete with the player for the machine.

Added

  • extras/cjk/subset-film-fonts.py <project> shrinks a project's fonts to the characters its film draws (the CJK pair goes from about 9.5 MB to 300 KB) and points mografy.json at the result; the original fonts stay. Run it again after copy changes. The Skill's performance, CJK and 3D references now cover opening speed: font subsets, caching procedural textures, and keeping the Three.js light count constant.

Fixed

  • The wrong soundtrack after switching projects — two projects whose audio had the same file name played the first project's track, because the player cached decoded audio by path alone. Audio is now cached per project.

Changed

  • Mografy Skill rewritten
  • Every project keeps a style.md
Full release notes

Changed

  • Mografy Skill rewritten. SKILL.md now opens with hard rules, a glossary and a table of which reference to read for which job, then numbered steps with their outputs and a checklist before delivery. The description lists the requests that should trigger it, in English and Chinese. A new taste.md gathers the default taste in numbers, each with its reason: caption and result holds, smooth timing, type sizes and safe margins, and a design system (four type roles, a five-role palette, one layout for repeated shots, about 40 % empty space). A new film starts from one visual idea that travels through every shot.
  • Every project keeps a style.md. The Skill writes it when it plans a new film, or from the scene before changing a project that has none. mografy check warns when it is missing.

Added

  • Mografy Templates
  • mografy add <template...> [folder]
  • Install and update
  • Templates reference in the Skill
  • Maintainer scripts

Fixed

  • mografy add without a project
Full release notes

Added

  • Mografy Templates — a free library of 43 ready-made templates for product demo videos in templates/, all in English: 22 native 9:16 templates for short video (hooks, captions, phone and desktop screens, click zoom, typing, AI chat, callouts, before/after, steps, numbers, reviews, logo, end card, transition) and 21 16:9 templates for landing pages, YouTube and decks (ids ending in -wide). The 9:16 templates share an editorial look (white page, black Anton headlines, one orange accent; light / dark themes) and the 16:9 templates the look of the montage film (night / light / neon grounds, spectrum light and kinetic type). Templates that exist in both ratios point at each other with pair. Copy, theme and accent are params, and safeGuide shows the social safe area in the preview.
  • mografy add <template...> [folder] — copies templates with the shared kit.ts, editorial.ts and montage.ts, Inter (500–800) and Anton into a project and registers the fonts; templates and helpers can be added in one command. When the folder is not a project yet, it is created with the templates' aspect ratio, a scenes/main.ts that plays them in order and output glow and grain off. A project without a tsconfig.json gets one for editor support, and every template type-checks in strict mode with no implicit any. play(ctx, time, start, template, params) plays a template inside a film; backdrop: false draws overlay templates over the film's picture.
  • Install and update — pnpm install now ends by suggesting a template command (mografy add hook-impact cta-endcard projects/my-post) next to the reference films and helpers. mografy update brings new templates with the rest of the checkout and re-syncs the Skill, so nothing extra is needed.
  • Templates reference in the Skill — references/templates.md tells the agent when to start from a template, how to add and edit it, and lists the catalog.
  • Maintainer scripts — pnpm templates:preview <id> [--theme=<name>], pnpm templates:sync, pnpm templates:media <dir>, pnpm templates:web <dir> (the website's live player) and pnpm templates:typecheck.

Fixed

  • mografy add without a project — adding templates to a new folder (mografy add hook-impact projects/my-film) failed with "has no mografy.json", outside a project the error suggested a wrong command, and inside the Mografy folder add silently put the files into the last opened project. Templates now create the project they need, add never falls back to the last opened project, and helpers without a project fail with the command to run.

Added

  • Film runtime helpers
  • Frame cost in mografy check
  • film-starter example
  • Reference films
  • One mografy add for films and helpers
  • Layers in film units

Changed

  • Skill
  • Scenes
  • cinema
Full release notes

Added

  • Film runtime helpers — @mografy/runtime now includes keys (monotone cubic keys), cameraPath and withCamera (one camera for the whole film), beats (one shot table for meta.shots, review times and handoffs), pooled buffer, bloom, and a bounds option for layer and blurLayer. blurText blurs type with the glyph's shadow instead of a filter. All of them accept the scene context or a plain 2D canvas, so a storyboard page can draw the real film.
  • Frame cost in mografy check — check prints the median and slowest frame time and warns about frames over 100 ms, more than eight filters in one frame, and canvases created on every frame.
  • film-starter example — mografy add film-starter <folder> copies a twenty-second model film, with the Inter subsets it uses, to start a new film from: one light the eye follows from a point to a line, a card that grows out of the line and plots an ease curve, a ring of light and the last line's full stop; one camera, one shot table.
  • Reference films — examples/ now holds three finished films: mografy-montage (60 s), mografy-triangulum (42 s) and mografy-story (71 s). They use the new runtime helpers and one shot table each; against their earlier versions they look the same frame for frame, and the montage draws a frame about four times faster. mografy add <name> [folder] copies one to build on. The Skill's new examples.md says what each one teaches.
  • One mografy add for films and helpers — mografy add lists the reference films and the helpers together. mografy add <film> [folder] copies a film into your library; mografy add <helper...> [project] adds one or more helpers at once (mografy add film music). Installation ends by suggesting a few of them.
  • Layers in film units — inside layer, blurLayer and bloom, shadow and filter lengths are now in film units like on the frame, so cards and glows keep their size on a Retina preview and in 4K exports. TextStyle.family accepts a CSS font stack.

Changed

  • Skill — SKILL.md starts with a quality floor for continuity and performance. New references: film architecture, performance, and output (aspect ratio and export, moved out of scene authoring). The Codex-only motion supplement is now the shared motion-design.md, with default taste (calm pacing, still holds, big type, one logo, sustained music). Walkthroughs use one film camera with a local zoom per card.
  • Scenes — setup is optional.
  • cinema — crossfade reuses one pooled buffer instead of creating a canvas per frame.

Fixed

  • Windows install
  • Windows install, part 2
  • Windows mografy command
  • mografy update on Windows
  • Windows checkouts stay clean after a build
  • Windows file saves
  • Windows project names
Full release notes

Fixed

  • Windows install — pnpm install failed on Windows with No projects matched the filters, so no package was built and sync:skills then stopped on a missing @mografy/core/dist/index.js. pnpm runs scripts through cmd on Windows, which does not treat single quotes as quotes. The root package.json scripts (build, typecheck, test, test:browser, test:compression, install:tool) now use escaped double quotes, which work on macOS, Linux and Windows. Windows users who hit this: run mografy update (or git pull --ff-only), then pnpm install.
  • Windows install, part 2 — sync:skills then stopped with Preserving an existing custom Claude entry: .claude\skills\mografy. Git on Windows checks the repository's .claude/skills/mografy symlink out as a small text file unless symlinks are enabled. sync:skills now recognises that placeholder and leaves it as Git wrote it, so the checkout stays clean for mografy update; Claude still reads the Skill through the root CLAUDE.md. When the entry is missing on Windows it is recreated as a junction, which needs no administrator rights.
  • Windows mografy command — install-command only printed a PowerShell function on Windows, so mografy was not found in a new window after installing. It now writes mografy.cmd into a writable folder already on PATH (%APPDATA%\npm, PNPM_HOME or %LOCALAPPDATA%\Microsoft\WindowsApps), which works in both cmd and PowerShell; the PowerShell function remains the fallback.
  • mografy update on Windows — running pnpm.cmd failed with spawn EINVAL on current Node versions, which no longer start .cmd files without a shell. It now runs through the shell on Windows.
  • Windows checkouts stay clean after a build — Git on Windows checks text files out with CRLF line endings, so pnpm build regenerated packages/core/src/skill-text.ts with different line endings and left it modified, after which mografy update refused to run ("Local changes found"). The generator now normalises the Skill Markdown to LF.
  • Windows file saves — a virus scanner or the search indexer can hold a just-written file for a moment; saves into a project now retry briefly instead of failing with EPERM.
  • Windows project names — a project named after a Windows device name (CON, NUL, COM1…) or ending in a dot now gets a folder name Windows can create.

Added

  • Motion helpers in @mografy/runtime
  • One tempo for picture and music
  • Layer helpers
  • mografy add <extra> [project]

Documentation

  • The scene-authoring reference has new Randomness
  • Product walkthrough films (optional extra)

Changed

  • Faster exports that no longer run out of memory
  • MOGRAFY_CANVAS=gpu
  • Skill guidance is Markdown
Full release notes

Added

  • Motion helpers in @mografy/runtime — scenes no longer need a copied kit for the basics. New easing curves ease.outQuart, outQuint, inOutQuart and inOutSine; eased time windows at() and win(); one spring that settles exactly on 1 at a set time, spring(time, start, duration, bounce), and spring easing curves springEase() with the presets springs.out / pop / camera / cursor; follow-through settle(), pulse() for presses and flashes, and stagger(). The walkthrough extra now uses these, with identical frames.
  • One tempo for picture and music — a scene can declare meta.tempo = { bpm, beatsPerBar, offset } and build its timing constants with tempoGrid(tempo).onBar(n, k). ctx.beat(time) falls back to meta.tempo before the project has audio, and mografy check reports a tempo that differs from the audio settings in mografy.json.
  • Layer helpers — roundRect(), surface() (soft two-layer elevation), text() / measure() with tracking and alpha, riseWords() (words rise into a mask) and blurWords() (words come into focus), with separator: '' for CJK copy. ctx.draw gains linearGradient(), radialGradient() and conicGradient().
  • mografy add <extra> [project] — copies an optional extra (cinema, cjk, three, music, walkthrough) into a project from this checkout, or from GitHub when extras/ is missing; registers the CJK fonts in mografy.json, keeps files you changed unless --force, and prints the import line. mografy add lists them. Installation still contains only the sixteen built-in components.

Documentation

  • The scene-authoring reference has new Randomness (decide in setup with ctx.random(), use ctx.noise() only for per-frame variation), Tempo and music, Time and motion helpers and Layer helpers sections; the extra references use mografy add.
  • Product walkthrough films (optional extra) — extras/walkthrough/walkthrough.ts turns an app's screens into a film: the agent looks at a screenshot of each step, redraws the real UI as a large, simplified card (the control being used and just enough context; everything else dropped or turned into skeleton bars, type about 1.5× larger), and films one action per shot. Each card grows out of the control that was just used, each card has its own camera that pushes in on that control, and a big cursor or a finger tap does the clicking. The kit covers cards, buttons, inputs with typing, per-character blur-in text, count-up numbers, check marks, toasts, a phone frame, spring curves, zoom-about-a-point cameras, a cursor that follows moving cameras, and a brand-colour fluid backdrop. The shared Skill's new product-walkthrough.md reference describes the workflow (collect a screenshot of each step, inventory each screen, approve a screenshot-versus-redraw sheet, then animate) and how to adapt it to product demos, feature tutorials, what's-new shorts, mobile app previews, social cut-downs and landing-page loops. walkthrough-demo.ts is a twelve-second tour. Nothing is installed: the file is copied into a project's scenes/ only when it needs one.

Changed

  • Faster exports that no longer run out of memory — frames travel from the headless browser as a Blob, which removes a per-frame copy that Playwright kept until the export ended (long 1080p exports could run out of memory) and makes each upload about ten times faster. Sample mixing, glow and grain now run in two workers inside the page while the next frame is drawn, and reuse their buffers. A 1080p frame with 4 samples, linear mixing, glow and grain went from about 1.4 s to about 0.35 s in our test, with memory flat over long exports. The pixels are identical to before.
  • MOGRAFY_CANVAS=gpu — optional switch that draws with GPU acceleration, to compare speed on your machine. The default cpu canvas reads frames back cheaply and gives the same pixels on every computer; gpu can be faster for blur- and shadow-heavy scenes but its edges may differ slightly.
  • Skill guidance is Markdown — the Skill entrypoint and references now live in packages/core/skill/ as Markdown files; the core build bundles them, and guide.ts only assembles them. Edit the Markdown, then run pnpm build.

Changed

  • mografy update gets you unstuck

Fixed

  • Security hardening
  • Lighter editing sessions and presentation files
Full release notes

Changed

  • mografy update gets you unstuck — when main has lost its GitHub upstream, the updater links it to origin/main by itself and carries on. Every other stop now prints the exact commands to run: the changed files plus git stash -u for local changes, git checkout main and git branch --set-upstream-to=origin/main main for another branch or a detached HEAD, and git remote add origin … for a folder that is not connected to GitHub.

Fixed

  • Security hardening — the mografy command now uses a Mografy checkout around the current folder only when it was installed on this computer (pnpm install records it in ~/.mografy/trusted-checkouts); a folder that only imitates one is ignored with a note. The headless export host refuses requests for other hosts or from other sites, Vite's hot-reload socket accepts only the same-origin player, and the player's static files are checked against the folder boundary. The README now says to open only projects you trust, because scene code runs with the editor's access.
  • Lighter editing sessions and presentation files — the player runs each scene version in its own iframe and removes it when the next version is ready, so long sessions no longer keep every version's code, images and fonts in memory; the runtime also removes the fonts it added when a version closes. Presentation HTML embeds only the files the scene loads (plus fonts and music) instead of all of assets/. The file watcher relies on filesystem events and rescans every 10 seconds instead of every second, .mografy/builds/ keeps the newest 16 builds, a missing player file returns 404 instead of the player page, and the export host refuses uploads over 512 MB.

Read the post about this update

Added

  • Presentations
  • Player hot reload
  • Contextual music (optional extra)
  • 3D layers with Three.js (optional extra)
  • Project style file

Changed

  • Every project has slides, even unmarked ones
  • Projects open paused at 0s
  • The shared Skill keeps itself current
Full release notes

Added

  • Presentations — present a project live instead of playing it as a video. Slides come from the scene's shots: a scene lists them in meta.shots ({ end, stop?, title? }, from the storyboard) and each shot becomes a slide that waits on a settled frame; a scene without shots is one slide, and the timeline in Video mode marks where each slide stops with a triangle. A Video / Present switch at the top of the editor turns it into a slides view of the same scene: slide thumbnails on the left (the panel button hides them) and the stage, with a playback menu in the middle (previous, Play into the slide as the audience will see it, Mute the presentation music, next). ← / → move between slides. Titles, speaker notes and holds (hold the frame, or keep replaying the last seconds so idle motion continues) are written to slides in mografy.json; slides are never added by hand, only by marking shots. The sixteen built-in components cannot be presented: the switch explains why and stays in Video. Start opens the presentation page: it plays to the next stop and waits for you. A top bar (back to the editor, the slide's title, speaker view, full screen) and a bottom menu (previous, next, mute, slide progress) fade away while the mouse rests. → / Space / click advance, ← and a number then Enter jump straight to a slide, M mutes, F goes full screen, B blacks out the screen, P opens a speaker view with notes, the next slide and a timer, and Esc returns to the editor. Music fades out at each stop and back in on the next transition. The window follows live edits while you rehearse, and K locks the current version while you present. Export HTML writes one file, renders/<name>-presentation.html, and downloads it, with the scene, fonts, images and music embedded: open it in any browser and it presents the same way, offline (mografy export --format html from the terminal). Video exports ignore shots and slides. mografy check validates the shots and mografy review adds a sheet of every slide's stop frame. The Skill's new presentations reference tells Claude and Codex how to read a project and mark its shots.
  • Player hot reload — in a source checkout, mografy dev serves the player from source through Vite, so changes to the player's own code appear in the open browser at once, keeping its state. pnpm install installs Vite as a development dependency of the player; without it (or with MOGRAFY_HMR=0) the player is served from the built dist/ as before.
  • Contextual music (optional extra) — extras/music/score.py generates a film's score from its context instead of cutting the animation to a found track. The agent writes music.json after the storyboard: sections with a mood (calm, warm, hopeful, playful, tech, tense, cosmic, epic) and an energy level or ramp, and hits on the exact seconds where something happens on screen (bursts, impacts, particles gathering or swirling, light sweeps, typing, the final chord). The generator synthesises matching music with Python and numpy, deterministically, plus a timeline image for checking that swells and impacts land on the picture. rhythm: "flowing" gives a smoother, sustained score and texture: "particles" adds a shimmer for particle pieces. When the timing changes, edit the cues and generate again. Nothing is installed: the script is copied into a project's music-src/ only when it needs music, and the shared Skill's new music.md reference describes the workflow. music-example.json scores the twelve-second intro.
  • 3D layers with Three.js (optional extra) — extras/three/three.ts renders a Three.js scene as a layer inside a normal frame: 2D backgrounds before it, type after it. Build meshes, lights, materials and glTF / GLB models once in setup with prepareStage, then pose them from time in renderFrame with stage; helpers cover orbit cameras, studio reflections, model loading and canvas-drawn textures. It renders with WebGL in the player and in every export format. The Three.js r186 bundle (about 0.8 MB, MIT) is copied into a project's assets/ only when it needs 3D, so installation and existing projects are unchanged. three-demo.ts is an eight-second tour, and the shared Skill's new three-d.md reference says when to use 3D and how to keep it deterministic.
  • Project style file — a project can now fix its design and motion decisions in style.md at the project root: do and don't rules, motion character, palette, type and tempo choices, composition and reference stills. Values stay in the scene code, defined once and changed there. The shared Skill and storyboard guidance read it before planning or editing. They take precedence over the Skill's default design guidance but never over the scene contract, and the current request still wins. Agents record a decision there only when you state or approve it as lasting. The file is optional; installation and new projects are unchanged.

Changed

  • Every project has slides, even unmarked ones — pnpm install and mografy update now write slides into each of your projects whose scene lists no meta.shots: slides.shots in mografy.json, marked "guessedFrom" (pnpm sync:slides runs it on demand; bundled components and examples are left alone). A scene can also keep its shots there instead of in meta; the scene's own meta.shots still win. Present mode, the presentation page and the exported HTML use them, and the player guesses the same way for anything not written yet: from the shot table in storyboards/storyboard.md when it covers the whole scene, otherwise from where the picture changes, and waits on the stillest frame shortly before each shot ends. Existing projects need no hand edits; the slide list says the slides were guessed, mografy check reports the guess, and mografy review always writes the slides sheet. Shots marked by Claude or Codex still replace the guess.
  • Projects open paused at 0s — opening a project, switching to another one or reloading the player no longer starts playback, in Video and Present alike: Video starts at 0s instead of the last playhead, Present shows the selected slide's stop frame, and nothing plays until you press Play or Space. Live edits to the open project still keep the playhead where it is.
  • The shared Skill keeps itself current — pnpm build now ends with pnpm sync:skills, so pnpm install, mografy update and every build regenerate .agents/skills/mografy (and the Claude link and project pointers) from guide.ts, including new references such as music.md. mografy dev also checks on start whether the Skill's sources changed since the last sync, for example after a git pull without pnpm install, and regenerates it with one line of output. Custom notes in project guides are preserved as before; nothing to run by hand.

Fixed

  • The mografy command survives a moved or deleted checkout
  • mografy dev only opens projects; the old starter is retired
  • Scene edits no longer get stuck behind a stalled scene
  • Review no longer blocks live updates
  • Bursts of saves collapse into one rebuild
  • Faster rebuilds with large assets
  • Playback resumes after a fix
  • mografy check uses the running player
  • Chromium crash recovery
Full release notes

Fixed

  • The mografy command survives a moved or deleted checkout — the launcher that install-command puts on PATH used to hard-code the folder it was installed from, so deleting or moving that copy (for example an old ~/Documents/mografy) made every mografy command fail with a Node MODULE_NOT_FOUND stack trace. It now looks for Mografy each time it runs: inside any checkout it uses that checkout; outside one it uses the installed copy, and if that copy is gone it prints the one repair command. It uses node from PATH, so Node upgrades do not break it either. Existing launchers are replaced the next time pnpm install, mografy update or node packages/cli/bin/mografy.js install-command runs.
  • mografy dev only opens projects; the old starter is retired — dev no longer offers to create a missing project, so a mistyped path or a terminal in another repository (for example the website's) can't leave an empty starter behind. A missing folder now fails and points to mografy dev (the player with the built-in animations, ready right after pnpm install). A relative path that isn't in the current folder but is a project in the Mografy installation (mografy dev projects/<name>) opens that project. --yes is deprecated and ignored. No starter project is needed to begin. The internal mografy init (used only by agents for a new animation, no longer in --help or the README) and the player's New project now create a blank project — an empty stage with one breathing dot — instead of the former 8-second "MOGRAFY" title scene. The component modules are still copied so scenes can import them. Built-in component projects are unchanged. mografy help is redesigned around the workflow (Start, Review and export, Manage) with the current product line and the teal brand mark on interactive terminals (NO_COLOR turns colour off).
  • Scene edits no longer get stuck behind a stalled scene — work inside Chromium now has time limits: setup 30 s, the trial render 20 s, and each export, still or review frame 120 s. Previously an await in setup that never resolved (for example an image that never loads) or a loop in renderFrame that never ended blocked the project forever: every later edit waited silently, the player kept showing the old version and mografy check hung until the player was restarted. Now the scene error names the likely cause, the last working version keeps playing, and the next save is picked up normally.
  • Review no longer blocks live updates — mografy review renders outside the project's write queue, so edits keep publishing while sheets render. Review compares against a video only when you pass --video or the player's last finished MP4/WebM export is of the current version. Before, any older renders/<name>.mp4 was compared, decoding the video from the beginning for every sample. That gave meaningless PSNR and could hold up updates for a minute or more.
  • Bursts of saves collapse into one rebuild — when several files change while a rebuild is running (multi-file edits, an extracted update archive), Mografy runs one follow-up rebuild with the latest files instead of a full compile and Chromium trial for every intermediate save.
  • Faster rebuilds with large assets — fonts, images and audio are hashed once and reused until the file changes, instead of being reread on every scene save.
  • Playback resumes after a fix — when renderFrame throws during playback, the player still pauses on that frame, and now resumes automatically once a fixed version loads. A player-side setup that never finishes is also limited to 30 s so later versions still appear.
  • mografy check uses the running player — while a player serves the project, check asks it to rebuild from disk (new POST /__mografy/check) instead of starting a second Chromium, and the player shows the same result.
  • Chromium crash recovery — a crashed or closed headless Chromium is relaunched for the next page instead of failing every later trial render.

Added

  • Codex motion-design guidance
  • Motion-design example

Changed

  • Local visual-reference workflow
Full release notes

Added

  • Codex motion-design guidance — the existing shared mografy Skill now links to a Codex-only reference for visual concepts, type hierarchy, key poses, causal choreography, rhythm, continuity and review of actual rendered output. Small edits use only the relevant guidance. Claude keeps its existing workflow.
  • Motion-design example — extras/motion-design.ts and rendered key poses demonstrate a continuous graphic handoff and a readable final hold. The authoring guidance remains generated from packages/core/src/guide.ts.

Changed

  • Local visual-reference workflow — private references connect actual frames and timed excerpts to specific design decisions, controlled comparisons and reconstruction practice. Human feedback is recorded for the relevant brief and kept in the local reference Skill. Disposable evaluation projects, comparison pages and test videos were removed after the useful guidance and still-image references were retained.

Added

  • WebM export
  • Source updates
Full release notes

Added

  • WebM export — VP9 video and optional Opus audio, available from the player and CLI with --format webm. Constant quality defaults to CRF 32, with Draft/Standard/High presets at 38/32/26. Both video formats support landscape/portrait sizes, Fit, effects, cancellation and completed-file playback. Size varies with scene complexity; CRF does not guarantee a byte budget.
  • Source updates — mografy update --check checks the tracked upstream; mografy update fast-forwards a clean installation, installs/builds, synchronizes Skill guidance and restarts the active player on its original project/port. It waits for exports and rejects local changes, concurrent updates and diverged history. Older installations need the one-time manual update above.

Added

  • Camera and transitions extra
  • Chinese and Japanese typography extra
  • CJK fonts
  • Skill guidance
Full release notes

Added

  • Camera and transitions extra — extras/cinema/cinema.ts
    • Camera moves on photos or key art: push, pull, pan and tilt, never revealing an image edge (plate, move).
    • Transitions: crossfade, dip to colour, flash, iris, light slash, whip pan, and particle wipes with sakura petals, stars, circles or hearts (crossfade, dipTo, flash, iris, slash, whip, particleWipe).
    • Atmosphere: glow, drifting petals or snow, twinkling stars and light sweeps (glow, drift, twinkle, lightSweep).
    • cinema-demo.ts is a fourteen-second tour of every transition.
  • Chinese and Japanese typography extra — extras/cjk/cjk.ts
    • Vertical text (tategaki) with vertical punctuation and brackets, rotated long marks, small-kana placement, two-digit numbers set horizontally (10月17日), and column wrapping that follows kinsoku rules.
    • Horizontal CJK captions that wrap without punctuation at a line start and without splitting English words.
    • cjk-demo.ts shows both.
  • CJK fonts — extras/cjk/fonts/: OFL-licensed Noto Sans CJK TC Medium and Noto Serif CJK TC Bold subsets covering kana, common Traditional Chinese, Japanese kanji and common Simplified characters.
  • Skill guidance — new camera and transitions and CJK typography references. The agent fetches an extra on its own when a brief needs it, for example "make a video with sakura transitions" or "add vertical Japanese copy".

Unchanged

  • The project template, the sixteen built-in components, their thumbnails and the install and check commands.

Free and open source

Ready to make
something move?

Paste one prompt into Claude Code or Codex. It installs Mografy, then you describe your first scene.

Set up Mografy
Install with an AI agent
  • Open source
  • Runs locally
  • Claude Code & Codex
Star on GitHub