Manimater/manimater-components
Sobre
Open-source, tested, reusable Manim animation components (JSON-driven). The component library behind Manimater.
Aprendizado e educaçãoCrescimento medido de estrelas
- em 24 h
- +1
- em 7 dias
- +1
- em 15 dias
- Coletando histórico
- em 1 mês
- Coletando histórico
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
Original
Open-source, tested, reusable animation components for Manim.
The open source library behind Manimater, and the part we want the world to build on.
Quick start · Contribute · Write a component · Catalog · Manimater
manimater-components
Components across many subjects: electrical and power systems, control and signals, microelectronics, machine learning, computer science, finance, physics, chemistry, databases and more. Each is written once, tested, and driven by plain JSON.
Manimater turns a prompt into a narrated explainer video. This library is what makes that possible, and it is open source (MIT) so that anyone can use it, extend it and ship their own videos with it.
// A component is a name plus parameters. No animation code.
{ "component": "synchronous_motor", "params": { "poles": 2, "frequency_hz": 50 } }
![]() synchronous_motorelectrical |
![]() cpu_pipelinemicroelectronics |
![]() neural_networkmachine learning |
![]() pid_responsecontrol systems |
![]() binary_search_treecomputer science |
![]() order_book_matchingfinance |
Six of the components, rendered from their own example parameters with python -m manimate.preview.
Why components
- No generated code. An LLM (or you) only picks a component and fills in its parameters as JSON.
manimate.storyboardvalidates every value against the catalog before anything runs, so nothing arbitrary is executed. - Tested. Every component has an
examplethat must render, and CI dry-runs all of them against a real Manim scene. - Reusable. Written once, used in every video. Adding a component makes every project that uses the library better.
- Built on the community. 27 components draw with open-source Manim plugins, all credited in docs/THIRD_PARTY.md.
Quick start
git clone https://github.com/Manimater/manimater-components && cd manimater-components
# Manim needs ffmpeg, Cairo and Pango (https://docs.manim.community/en/stable/installation.html).
pip install -e ".[dev]"
./scripts/install_plugins.sh # the community Manim packages some components wrap (optional)
manimate-preview --list # every component
manimate-preview callout # renders previews/callout.mp4 from the component's own example
manimate-catalog > catalog.json # export the component catalog
The commands are installed by pip install. The module forms
python -m manimate.preview and python -m manimate.catalog also work.
Use it from Python:
from manimate import registry
from manimate.components import load_all
from manimate.storyboard import validate
load_all()
comp = registry.get("bar_chart")
print(comp.example) # parameters that are known to render
storyboard, errors = validate({"title": "Demo", "scenes": [
{"component": "bar_chart", "params": comp.example, "narration": "Synchronous speed by pole count."}]})
catalog.json is the machine-readable list of every component (name, domain, description, parameters, example). Hand it
to an LLM as the menu it picks from.
Use it with Claude
This repo ships a Claude skill, skills/manimater-components. It teaches Claude to
pick components from the catalog, write valid storyboards, preview them, and write new components that follow the rules.
In Claude Code it is picked up automatically when you open this repo (.claude/skills/). In claude.ai, upload the folder
under Settings, Capabilities, Skills.
Contribute
New components are the best way to help, and you do not have to code.
- Developer: copy
_template.pyintomanimate/components/community/on a branch namedcomponent/<name>(one component per pull request), see CONTRIBUTING.md and docs/WRITING_A_COMPONENT.md. - Not a developer: describe the animation you want to any LLM, paste the result into a form, and we turn it into a pull request for you. Start with docs/GENERATE_WITH_AN_LLM.md.
Layout
| Path | What |
|---|---|
manimate/components/ |
Component packs (one module per subject). Registers itself with the registry. |
manimate/components/community/ |
Your contribution goes here: one file per component, auto-loaded. |
manimate/viz/ |
Lower-level 3Blue1Brown-style building blocks: core, ml_advanced, microelectronics, signals, power, finance. |
manimate/registry.py, ctx.py, theme.py |
The @component decorator, the per-scene time budget and layout helpers, the colours. |
manimate/storyboard.py, catalog.py |
Validate JSON against the library; export catalog.json. |
manimate/preview.py |
Render one component to MP4. |
skills/manimater-components/ |
The Claude skill. |
tests/ |
Fast tests plus a dry run of every component. |
Relationship to Manimater
Manimater uses this library to render videos, and the two copies are kept in sync by CI: a change merged here is proposed to the app as a pull request. A component change made in the app is brought here by hand. The synced paths and the setup are in docs/SYNC.md.
License
MIT. Each community plugin keeps its own licence: see docs/THIRD_PARTY.md.
Manimater is built on this open source library. The logo and banner in assets/ are the Manimater marks.
Explore projetos relacionados
Carregando…





