Skip to content

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 / cardQuestion answeredData source
Environment → Browser runtimeCan this page produce a pictureThe current page (core package environment status)
Environment → Local environmentCan this machine export mp4 via the native-render pathLive probes over the Host route
Python librariesWhich third-party libraries are already cached locallyHost 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.

RowValuesNotes
Python runtimenot loaded / loading / ready / failed"Not loaded" is the normal initial state — the first render has to fetch the runtime assets first
Formula stylesunconfigured / loading / loaded / failedThe stylesheet needed to typeset formulas
WebGLyes / noThe exit for the picture itself; without it the card renders nothing at all
WebAssemblyyes / noThe 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/bin and 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 python3 on 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:

StateMeaningAction
CachedAlready cached locallyDelete
Built-inBundled with the packageNone
Not cachedNot cached yetCache

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.

DeepSeek Harness 插件系列 · 运行时与渲染引擎见核心包 manim-live