Skip to content

Releases

motigen 0.3.0

Choose a tag to compare

@crocone crocone released this 21 Nov 17:36

Four more scene types, the three themes shown and checked, and a guard against frames that depend on history.

  • New scene types: chart (bars that grow with counting values, or a smoothed line that draws with a head carrying
    the running value), table (a comparison with ticks and an accent column), phone (a phone with an app screen
    or your screenshot and a dropping notification), grid (feature cards with icons). Fourteen kinds in all.
  • examples/scenes-gallery: every scene type once with its main options; docs/img has its contact sheets in
    the dark, light and paper themes and in 9:16. ?theme=light|paper|dark (or --query "theme=paper") previews a
    theme without touching the film.
  • Portrait layouts: charts, tables and cards are larger in 9:16; the phone sits under its headline.
  • Fixed: a frame could depend on what was rendered before it. The scenes styles used will-change; with many
    composited layers the screenshot of a freshly shown scene could be taken before the layer was fully painted
    (a missing last line in the first render of a scene). The styles no longer use it.
  • motigen stability --replay renders every moment a second time, last to first, and fails when a frame differs (edge anti-aliasing noise under 40 of 255 is ignored, --replay-threshold):
    the check that found it, for any page.
  • The scenes player dry-runs every scene when it loads and warns (and sets window.__film.warnings) when one is
    still moving less than 0.3 s before its end, with the duration it needs. An image scene is exempt.
  • The dashboard image: a push-in no longer cuts the sidebar text, and the callout zooms with the picture; window
    titles sit in the title bar; code scenes type faster between lines.
  • Tests: the gallery is rendered in all three themes and both formats and must have nothing sticking out of the
    stage or clipped, no warnings, and reproducible frames.

Install: npm i -g motigenjs (the command is motigen). Claude Code plugin: https://github.com/crocone/motigen-plugin

motigen 0.2.0

Choose a tag to compare

@crocone crocone released this 08 Nov 17:48

Films that are not boring, and a key that has a place.

  • The scenes template: a film from a list of scenes — kinetic titles, statements with a marker sweep, counting
    numbers, a product window with a push-in and a callout (a mock dashboard when you have no screenshot yet), a
    typed terminal, a coloured code block, a before/after split, a quote, an end card — with eight transitions that
    vary on their own, three themes (dark, light, paper), a background that lives, both formats from one list,
    and the voice, the transition whoosh and the typed keys in the mix. docs/scenes.md has the fields and the
    rules of rhythm.
  • .env in the project folder is read (ELEVENLABS_API_KEY=…), every template ships .env.example, motigen vo voices lists the account's voices with their ids, and the errors say where the key and the voice go.
  • Synthesised whoosh, pop and tick effects next to click / key / enter.
  • The motion helpers (/_motigen/scenes/motion.js: easings, staggers, a typewriter, number formatting) for any
    dom film.

Install: npm i -g motigenjs (the command is motigen).

motigen 0.1.1

Choose a tag to compare

@crocone crocone released this 07 Nov 19:43

Stillness, built in and measured.

  • motigen stability -t …: renders consecutive frames at chosen moments and reports the share of pixels that
    changed, with a bounding box and a brightened -diff.png; --still fails on any change. The examples' holds
    are checked in CI.
  • The guide player snaps its camera translation to whole pixels and its scale to a fixed grid; its transient
    transforms settle to none.
  • The dom template no longer keeps a "breathing" element; its animated values settle exactly.
  • x264 keyframes only on the regular interval (--gop, default 2 s), no scene-cut keyframes: no texture pulse.

Install: npm i -g motigenjs (the command is motigen).

motigen 0.1.0

Choose a tag to compare

@crocone crocone released this 07 Nov 18:35

First release. The npm package is motigenjs (npm keeps the bare name as too close to an existing package); the
command is motigen.

  • The contract (window.__film), the headless renderer with parallel workers, stills, the events export, the
    preview server with its player.
  • Templates: guide (screencast player with xterm replay, browser clips, chapters, cards, text anchors), dom,
    canvas (the ink / kit drawing engine with its own offline mix and in-browser export).
  • Recorder: Term (node-pty, or script -T in a container), Browser (CDP screencast, mouse, clicks, keys,
    URLs, host mapping, a local folder as a site).
  • Sound: ElevenLabs narration with timestamps split per line, import of own recordings, a quality check, the mix
    (voice, effects, looped bed, ducking, two-pass loudnorm), subtitles.
  • Verified against the pipeline it was extracted from: identical events, frames within codec noise, identical
    loudness and subtitle files.

Install: npm i -g motigenjs (the command is motigen).