Skip to content

Molkit 0.22.0

Released August 6, 2026

The LaTeX solution-animation release. Over 500 commits since v0.21.0: a complete step-by-step animation system for pasted LaTeX derivations (choreography, honesty verification, a native player, beat-bound annotations, and user overrides), a full-codebase audit program that landed roughly 200 verified fixes, and a major performance program that made large canvases fast everywhere (editing, zooming, tab switching, rendering).

New Features

  • LaTeX solution animations: paste a standardized LaTeX derivation and molkit builds an animated step-by-step walkthrough with operation-aware choreography (carries, expansion, collapse, distribute/factor arrows, cross-equals arcs) and per-operation stepping
  • Motion grammar: path shape encodes the operation (curved arcs for multiply/divide, angular lanes for additive and structural moves)
  • Honesty layer: a numeric arbiter checks arithmetic, a known-relations registry verifies substitutions, and unverifiable steps play as honest fades instead of invented motion
  • Teaching captions on every operation beat, exported with the animation and shown in the reader's caption bar
  • Animation workspace: the center column hosts the real canvas; native preview player with a Beats inspector, focus view, and narration copy
  • Timeline lane: a temporal map of states, beats, and annotation spans with drag-to-retime and timing presets
  • Beat-bound annotations: author notes, arrows, and shapes on animation states with the full canvas toolset; they animate in the preview and bake into the exported SVG
  • User overrides: declare a step's operation, edit captions with rich text, edit per-beat durations, merge and mute beats, choose among honest motion styles
  • Terms mode: dotted-underline notation hoverboxes backed by a curated dictionary, live in molkit and baked into exported SVGs
  • ChemAcademy reader upgrades: per-operation stepping, captions bar, hoverboxes, keyboard and screen-reader accessibility with spoken captions
  • Validation warnings on by default with a toolbar toggle, status-bar badge, marker popovers with quick fixes, and a dative-aware charge-mismatch check
  • Offline HTML presentation export embeds fonts; video export bakes traveling-dot animations

Improvements

  • Large canvases are fast everywhere: incremental rendering on animation canvases (about 12x), instant flyout picks, badge clicks, and slide edits, sub-millisecond annotation and state-box drags
  • Wheel-zoom glide smoothing and bitmap-backed rendering during gestures on huge canvases
  • Tab switching with animations dropped from about 940 ms to 70 ms; Terms/Badges toggles from 2.3 s to 0.25 s
  • Memory: a multi-gigabyte undo-stack leak fixed, byte-budgeted bitmap cache, idle auto-save churn eliminated
  • Boot resilience: startup watchdog, guarded storage reads, the frozen-page Terms livelock fixed
  • Editor drafts and Terms state persist per tab; imports auto-fit; Escape peels one layer at a time
  • Interop: MOL/SDF import, multi-flavor office copy, honest clipboard flavors, .mkstyle style bundles
  • Arrow tools: beautify honesty, symmetric spacing, filled-dash arrows, mechanism-match hints

Bug Fixes

  • A full-codebase audit landed roughly 200 verified fixes: chemistry correctness (aromaticity, octets, point groups, valence data), an app-wide undo/redo staleness class, selection and snap gestures, shapes and text formatting, orbitals, presentation export, and PDF/SVG fidelity
  • Security hardening: widget SVG sanitization, postMessage source checks, escaped innerHTML sinks
  • Stability fixes for dev-server and browser-storage corruption that could present as a frozen app