Skip to content

rambip/manim-widget

Repository files navigation

Manim Widget

Kooha-2026-07-08-00-23-36-with-intro.mp4

Manim for Jupyter/marimo notebooks. The power of Manim, but interactive, and without the hassle.

Quickstart

🤖 AI AGENT SKILL

There's a work in progress prompt/skill you can just paste to start vibing. It's here

Have fun, but please remember: LLMs are awful at scientific writing and story telling. For now, there's no shortcut to writing good explanations !

# in your project
uv add manim-widget

And you're good to go ! You do not even need to install LaTeX.

If you get errors during installation, go read the manim install guide

Want to try it online ?

Thank's to marimo, that's a no brainer: Open in molab

How it works

Manim widget uses the amazing Manim Web project to render your scenes.

Code in this repository mainly does the serialization form python to js, using a precise json specification. And it turns out it's harder than one could think !

If you want to dig deeper, I strongly recommend to use the deepwiki documentation here

Contributing

See CONTRIBUTING.md

FAQ

I want to use manim without being sudo, what do I do ?

On linux, you can build cairo and pango without root, you just need a C compiler.

Follow this guide

AI

This project used AI extensively. I still spent hours on papers for the design decisions, and reviewed most of the architecture, contracts and tests (except for JS 😬)

About

Manim in your notebooks, truly interactive, without the hassle.

Resources

Contributing

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages