A layout-first DSL and 60 FPS Rust engine for technical diagrams, mathematics, and motion graphics.
Actors, keyframe beats, and temporal verbs describe motion with mathematical clarity. Scroll to scrub the playhead, or click any line of code to jump to its beat.
// one actor, three beats of choreography box: Rect, size: (220, 220), color: accent.primary, at: (640, 360) #0.5s fade-in box [600ms, ease: ease-out] #1.5s box: Ellipse, size: (220, 170), color: accent.success [900ms, strategy: match] #3.0s shift box [by: (280, 0), 800ms, ease: ease-in-out]
Actors anchor to coordinate bounds and parent layouts without coordinate drift.
Inline durations, bezier easing curves (ease-out, spring), and automated vector morphing.
Frame-time closures and always blocks execute at 60 FPS in bytecode with zero allocations.
Designed from the ground up as a single coherent pipeline for technical diagramming and mathematical animation.
Hardware-accelerated 2D vector rasterization powered by Vello and custom WGSL compute shaders. Compiles natively for desktop or down to a 5.5 MB slim Wasm module for web playback.
Mathematical notation, LaTeX-grade equations, and syntax-highlighted code compiled directly via Typst into vector glyph actors.
Real-time Gaussian blur, bloom, chromatic aberration, and frosted glass materials executing per frame.
Expressions, comprehensions, and orbital physics lowered into compact IR bytecode for zero-allocation evaluation at 60 FPS.
Real-time desktop GUI with live reload, language server protocol (LSP) diagnostics, and headless 4K MP4 / WebM video export.
Technical walkthroughs where every diagram, formula, and curve is a declarative scene file.
The core architecture of modern language models built up step-by-step: tokens, positional encodings, scaled dot-product attention, multi-head projections, and residual streams.
Launch walkthrough →Rotating dials tracing harmonic waves to reconstruct a square wave in real-time.
Explore walkthrough →High-throughput ingress, partitioned log streaming, and Raft consensus with smart routing.
Explore walkthrough →Spatial transformation: watch a 2×2 matrix bend the coordinate grid and track basis vectors.
Explore walkthrough →Run locally with Cargo, inspect formal grammar specifications, or export 4K video frames.
# 1. Open the interactive desktop studio cargo run -p animatix-gui # 2. Render a single high-res vector frame cargo run -p animatix-cli -- image examples/basics/00_hello.amx -o hello.png # 3. Export a 60 FPS video (MP4 / WebM) cargo run -p animatix-cli --features video -- \ video examples/gallery/epicycles.amx -o epicycles.mp4
Complete formal grammar, AST definitions, and primitive actor catalog in docs/spec.md.
Curated animations including math curves, physics models, and diagrammatic transitions.
Embed reference for the zero-dependency <amx-player> custom element in web/README.md.