Skip to content

Zenith 0.3.0

Latest

Choose a tag to compare

@github-actions github-actions released this 03 Dec 09:49
· 21 commits to main since this release

Deterministic Motion & Presentation Engine release: plain-text .zen motion grammar, analytical spring physics, topology-aware vector morphing, zero-dependency offline HTML presenter decks, streaming multi-core PNG/MP4 frame export, and browser editor Motion Inspector + Present Mode.

Added

  • Declarative .zen motion grammar (zenith-core): added duration and easing design tokens, page-level transition, notes, and camera keyframes, node-level motion {} blocks with morph-key, stagger, and click-step cue choreography (fade-in, fade-up, fade-down, fade-left, fade-right, scale-in, pop, pulse, fade-out, draw, write, follow, lines, series), canonical formatting, and 11 motion.* validation diagnostics.
  • Analytical physics & geometry math (zenith-geometry, zenith-core): added closed-form damped harmonic spring ODE solver (underdamped, critical, overdamped) with Lyapunov energy settling, cubic-bezier easing, Rust-baked CSS linear(...) spring curves, premultiplied Oklab color/gradient interpolation, adaptive 5-point Gauss-Legendre trim_path and sample_motion_path, and Paint/Hole-aware Umeyama-Procrustes + Hungarian GeometryMorph.
  • Deterministic motion compiler & timeline engine (zenith-motion, zenith-scene): new zenith-motion crate compiling .zen pages into deterministic reverse-step and continuous sub-step (MotionQuery::StepProgress) timelines, CompiledBox viewBox FLIP TransformMorph deltas, hierarchical linear-space Myers LCS text/equation morph planning, and BeginNode/EndNode opt-in SVG semantic grouping.
  • Zero-dependency offline HTML presenter (zenith render --html, zenith-render, zenith-pipeline): exports single-file offline HTML decks with per-page <defs> ID prefixing, keyboard/touch/hash/BroadcastChannel navigation, speaker notes drawer, overview grid, Safari fallback easing, spring interruption, viewBox-space camera pan/zoom, delta Follow paths, <defs>-synced GeometryMorph, and Escape exit handoff.
  • PDF build-step expansion & streaming video export (zenith-pipeline, zenith-cli): added --expand-steps for PDF handouts (one page per build step), streaming multi-core --frames <DIR> --fps <N> and --pipe-ffmpeg <OUT.mp4> with bounded memory (batch_size = 16), settled hold-frame caching, cross-page fade/slide/TransformMorph/GeometryMorph transitions, and motion.preview_at.
  • Motion transaction ops & Browser Editor UI (zenith-tx, zenith-editor, zenith-cli): added comment-preserving SetPageTransition, SetPageNotes, SetNodeMotion, and ClearNodeMotion ops, motion.inspect and doc.export (html, pdf_steps) editor commands, right-rail Motion Inspector panel, full-viewport sandboxed Present Mode dialog (with SHA-256 CSP hash), and examples/motion_showcase.zen.

Fixed

  • Pruned removed node and subtree IDs from page.motion.nodes in RemoveNode transactions so patch_source round-trips cleanly on motion-authored documents.
  • Guarded BroadcastChannel and history.replaceState in the embedded HTML presenter runtime so sandboxed srcdoc Present Mode iframes execute without opaque-origin SecurityError.
  • Added zenith-motion to the crates.io release dependency tier in .github/workflows/release.yml and copied root LICENSE into zenith-motion/LICENSE.

Full diff: v0.2.0...v0.3.0