MSX
A vector graphics format with a DixScript source layer and a compact binary interchange layer — three independent renderers (SVG, CPU, GPU), a keyframe animation system, and image/audio embedding.
348
tests passing
22
gallery examples
19
element/def tags
Why MSX
DixScript source
Scenes are authored as DixScript — parametric, QuickFunc-driven, and readable — not hand-written XML.
Compact binary
Compiles to a typed binary stream, optionally MBFA-compressed, built for tool-to-tool transfer.
Three renderers
SVG export for the browser, a pure-CPU rasterizer (tiny-skia), and a GPU path (wgpu) that executes real WGSL shader fills.
Real animation
Keyframe tracks with per-property easing, resolved the same way whether you're exporting a GIF or scrubbing live in the viewer.
Get started
# Requires ../mbfa and ../DixScript-Rust as sibling directories
cargo build --release
# Compile MSX source to binary
cargo run --release -- compile examples/basic_shapes.msx -o out.msx
# Or just try it in the browser — no toolchain needed