Configuration
This plugin's configuration lives on the host's Plugins page: open the Manim Card detail page, and the section below the package name and description is it. It has two groups — Environment (browser runtime + local environment) and Python libraries.
| Group / card | Question answered | Data source |
|---|---|---|
| Environment → Browser runtime | Can this page produce a picture | The current page (core package environment status) |
| Environment → Local environment | Can this machine export mp4 via the native-render path | Live probes over the Host route |
| Python libraries | Which third-party libraries are already cached locally | Host route + local cache directory |
Rendering only involves the browser side — nothing has to be installed on your machine. The "Local environment" card serves exactly one row of the export menu: Native render (the Web export row only depends on this page's codec support, not on it).
Browser runtime
The runtime itself and four browser conditions live in one card, read from the current page.
| Row | Values | Notes |
|---|---|---|
| Python runtime | not loaded / loading / ready / failed | "Not loaded" is the normal initial state — the first render has to fetch the runtime assets first |
| Formula styles | unconfigured / loading / loaded / failed | The stylesheet needed to typeset formulas |
| WebGL | yes / no | The exit for the picture itself; without it the card renders nothing at all |
| WebAssembly | yes / no | The foundation the Python interpreter runs on |
The card header states a count of pending items; when anything is unsatisfied, the card footer lists actionable remedies one by one.
Local environment
Probes python3 / manim / the manim module / ffmpeg / latex / dvisvgm one by one, each reporting one of three states: ok / missing / error. Each row shows "name + ⓘ + status dot and version"; what the item is for, where it was probed and the exact command executed are folded into the ⓘ (shown on hover or keyboard focus). The header offers a "Re-run" action.
Three behaviours worth knowing:
- Probing runs only when the configuration section is opened, serially per item with individual timeouts; the machine is never scanned at plugin load.
- The probe augments PATH on its own: the desktop host receives a trimmed PATH where
/usr/local/binand friends are often missing, and without augmenting it an installed tool would be misreported as absent. - The "manim module" item follows the manim command to its real interpreter: if the command is a symlink into a venv, judging by the first
python3on PATH would be wrong, so it does not.
Of the six items, latex and dvisvgm are only needed by formula constructs and are not prerequisites for exporting mp4; the necessity verdict matches the export menu's "Native render" row exactly.
Python libraries
Lists the eleven commonly used libraries (numpy / sympy / mpmath / matplotlib / pandas / scipy / scikit-learn / statsmodels / networkx / pillow / opencv-python), each row giving state, local size and one action key:
| State | Meaning | Action |
|---|---|---|
| Cached | Already cached locally | Delete |
| Built-in | Bundled with the package | None |
| Not cached | Not cached yet | Cache |
These libraries are fetched over the network on demand at runtime and stored in ~/.dsh/cache/manim-live/pyodide/. "Cache" here fetches them to the local machine ahead of time so they work offline later; "Delete" removes one from the machine, and it is fetched again the next time it is needed.
The "Cache other libraries" block below the list accepts any package name.