Repository navigation
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
.zenmotion grammar (zenith-core): addeddurationandeasingdesign tokens, page-leveltransition,notes, andcamerakeyframes, node-levelmotion {}blocks withmorph-key,stagger, and click-stepcuechoreography (fade-in,fade-up,fade-down,fade-left,fade-right,scale-in,pop,pulse,fade-out,draw,write,follow,lines,series), canonical formatting, and 11motion.*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 CSSlinear(...)spring curves, premultiplied Oklab color/gradient interpolation, adaptive 5-point Gauss-Legendretrim_pathandsample_motion_path, andPaint/Hole-aware Umeyama-Procrustes + HungarianGeometryMorph. - Deterministic motion compiler & timeline engine (
zenith-motion,zenith-scene): newzenith-motioncrate compiling.zenpages into deterministic reverse-step and continuous sub-step (MotionQuery::StepProgress) timelines,CompiledBoxviewBox FLIPTransformMorphdeltas, hierarchical linear-space Myers LCS text/equation morph planning, andBeginNode/EndNodeopt-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, deltaFollowpaths,<defs>-syncedGeometryMorph, andEscapeexit handoff. - PDF build-step expansion & streaming video export (
zenith-pipeline,zenith-cli): added--expand-stepsfor 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-pagefade/slide/TransformMorph/GeometryMorphtransitions, andmotion.preview_at. - Motion transaction ops & Browser Editor UI (
zenith-tx,zenith-editor,zenith-cli): added comment-preservingSetPageTransition,SetPageNotes,SetNodeMotion, andClearNodeMotionops,motion.inspectanddoc.export(html,pdf_steps) editor commands, right-rail Motion Inspector panel, full-viewport sandboxed Present Mode dialog (with SHA-256 CSP hash), andexamples/motion_showcase.zen.
Fixed
- Pruned removed node and subtree IDs from
page.motion.nodesinRemoveNodetransactions sopatch_sourceround-trips cleanly on motion-authored documents. - Guarded
BroadcastChannelandhistory.replaceStatein the embedded HTML presenter runtime so sandboxedsrcdocPresent Mode iframes execute without opaque-originSecurityError. - Added
zenith-motionto the crates.io release dependency tier in.github/workflows/release.ymland copied rootLICENSEintozenith-motion/LICENSE.
Full diff: v0.2.0...v0.3.0