# academa-labs/manimgx — AlpLab Radar Static Code Audit

- Ring: `trial`
- Category: `media`
- Overall score: `4.3/5`
- Implementation check: `verified`
- Maturity: `early`
- Audited commit: `1fb4dd7327bf` (read-only; nothing from the repository was executed)
- Reviewed at: 2026-11-30T12:43:25Z
- Repository: https://github.com/academa-labs/manimgx
- Radar entry: https://radar.alplab.co/#repo/academa-labs/manimgx
- License: `MIT`
- CI workflows: `.github/workflows`
- Tags: `manim`, `animation`, `gpu-rendering`, `rust`, `wgpu`, `video`

## Summary

Manim CE-compatible Python animation API over a Rust+wgpu engine (maturin/pyo3 extension) that typesets with Typst, renders on the GPU and encodes MP4 with bundled x264; CLI (render/inspect/present/preview) plus an npm browser build on Pyodide+WebGPU

## Implementation Check

The main claims are implemented in real code: Scene/ThreeDScene/Camera semantics in src/manimgx/scene.py, the Rust+wgpu engine in rust/engine/Cargo.toml (wgpu 30, pyo3 abi3, typst, x264/ffmpeg built from pinned source), the no-extra-deps wheel via pyproject.toml/maturin includes, and the benchmark harness backing the 90x claim in benchmarks/; the overclaim is 'compatible with Manim's API' — a large subset with deliberate behavior differences (AGENTS.md: 'Manim CE is the source of the API, not of the behavior')

## When to Use

Reach for it when an agent or developer needs fast math/3D videos from Manim-style Python and tolerates a v0.1.x API on Python 3.13+; not for production pipelines needing a frozen API, Python <=3.12, or non-GPL distribution of native wheels (x264 makes them GPL-3.0-or-later as a whole)

## Sub-scores

| Dimension | Score |
|---|---|
| quality | 5.0/5 |
| usability | 4.5/5 |
| reliability | 3.0/5 |
| security | 4.5/5 |
| integration | 4.5/5 |

## Code Evidence

src/manimgx/scene.py (140 KB: Scene.play/_run/_pure_tweens with exact Fraction-time frame semantics, orbit Camera, fixed-in-frame); src/manimgx/_engine.pyi (GPU Player/Recorder/Replay, x264 export, Typst typeset, mitex LaTeX conversion); rust/engine/Cargo.toml (three build targets: native, pyodide, wasm web player); tests/ with 60+ files — Hypothesis unit properties (tests/unit/test_mobject.py 107 KB), integration incl. a render corpus with per-case reference videos (tests/integration/), browser tests (browser/tests/browser.test.ts 24 KB); .github/workflows/test.yaml builds wheels on 3 OSes x Py 3.13/3.14, smoke-tests the installed wheel with a GPU (lavapipe/Metal/WARP), combines coverage; benchmarks/ holds scenes for ManimCE/ManimGL/Blender and committed results

## Issues Found

rust/x264/build.rs and rust/ffmpeg/build.rs fetch and compile x264/FFmpeg/NASM from network sources at build time — pinned by SHA-256 hash and version-tagged (mitex via tag 0.2.7), so controlled, but it is a build-time supply-chain surface; browser/src/director.ts executes user scene code via exec(compile(...)) — inherent to the product (running authored scenes), same trust model as Manim CE; no telemetry, no secrets, no disabled TLS found

## Key Risks

Nothing was executed in this review: the 90.6x speed number is vendor-measured (benchmarks/README.md, results.json committed) and CI greenness is not observed here; very young (created 2026-10, v0.1.1, 2 releases) so API churn is likely; Python >=3.13 only; Manim CE compatibility is partial by design — docs/user-guide/coming-from-manim-ce.md lists differences; self.say() voice depends on audio providers (external TTS may need keys; core rendering does not); 90d top-author share 0.66 of 6 contributors

## Reviewed Files

- `README.md`
- `pyproject.toml`
- `AGENTS.md`
- `src/manimgx/__init__.py`
- `src/manimgx/__main__.py`
- `src/manimgx/_engine.pyi`
- `src/manimgx/scene.py`
- `src/manimgx/settings.py`
- `skills/manimgx/SKILL.md`
- `tests/integration/test_cli_export.py`
- `.github/workflows/test.yaml`
- `rust/engine/Cargo.toml`
- `rust/x264/build.rs`
