manimce-best-practices
Was er macht
Dieser Skill hilft Entwicklern, Animationscode für Manim Community Edition richtig zu schreiben. Er ist für Programmierer gedacht, die mathematische und naturwissenschaftliche Animationen in Python erstellen.
Wann du ihn nutzt
- ✓Wenn du Python-Code mit der Bibliothek Manim Community Edition schreibst.
- ✓Wenn du mathematische Formeln, Text oder Formen mit Manim animieren willst.
- ✓Wenn du eine 3D-Szene in Manim baust und die richtigen Kamera- und Objektregeln brauchst.
Link zum Skill
https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/manimce-best-practices/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Schreibe eine Manim-Szene, in der sich ein Quadrat mit einem kurzen Textlabel in einen Kreis verwandelt.”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Der Skill bietet Regeln und Beispiele für Szenen, Formen, Animationen, LaTeX-Formeln, Farben und Positionierung, damit dein Agent funktionierenden Manim-Code schreiben kann.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von GitHub.
How to use
Read individual rule files for detailed explanations and code examples:
Core Concepts
- rules/scenes.md - Scene structure, construct method, and scene types
- rules/mobjects.md - Mobject types, VMobject, Groups, and positioning
- rules/animations.md - Animation classes, playing animations, and timing
Creation & Transformation
- rules/creation-animations.md - Create, Write, FadeIn, DrawBorderThenFill
- rules/transform-animations.md - Transform, ReplacementTransform, morphing
- rules/animation-groups.md - AnimationGroup, LaggedStart, Succession
Text & Math
- rules/text.md - Text mobjects, fonts, and styling
- rules/latex.md - MathTex, Tex, LaTeX rendering, and coloring formulas
- rules/text-animations.md - Write, AddTextLetterByLetter, TypeWithCursor
Styling & Appearance
- rules/colors.md - Color constants, gradients, and color manipulation
- rules/styling.md - Fill, stroke, opacity, and visual properties
Positioning & Layout
- rules/positioning.md - move_to, next_to, align_to, shift methods
- rules/grouping.md - VGroup, Group, arrange, and layout patterns
Coordinate Systems & Graphing
- rules/axes.md - Axes, NumberPlane, coordinate systems
- rules/graphing.md - Plotting functions, parametric curves
- rules/3d.md - ThreeDScene, 3D axes, surfaces, camera orientation
Animation Control
- rules/timing.md - Rate functions, easing, run_time, lag_ratio
- rules/updaters.md - Updaters, ValueTracker, dynamic animations
- rules/camera.md - MovingCameraScene, zoom, pan, frame manipulation
Configuration & CLI
- rules/cli.md - Command-line interface, rendering options, quality flags
- rules/config.md - Configuration system, manim.cfg, settings
Shapes & Geometry
- rules/shapes.md - Circle, Square, Rectangle, Polygon, and geometric primitives
- rules/lines.md - Line, Arrow, Vector, DashedLine, and connectors
Working Examples
Complete, tested example files demonstrating common patterns:
- examples/basic_animations.py - Shape creation, text, lagged animations, path movement
- examples/math_visualization.py - LaTeX equations, color-coded math, derivations
- examples/updater_patterns.py - ValueTracker, dynamic animations, physics simulations
- examples/graph_plotting.py - Axes, functions, areas, Riemann sums, polar plots
- examples/3d_visualization.py - ThreeDScene, surfaces, 3D camera, parametric curves
Scene Templates
Copy and modify these templates to start new projects:
- templates/basic_scene.py - Standard 2D scene template
- templates/camera_scene.py - MovingCameraScene with zoom/pan
- templates/threed_scene.py - 3D scene with surfaces and camera rotation
Quick Reference
Basic Scene Structure
from manim import *
class MyScene(Scene):
def construct(self):
# Create mobjects
circle = Circle()
# Add to scene (static)
self.add(circle)
# Or animate
self.play(Create(circle))
# Wait
self.wait(1)
Render Command
# Basic render with preview
manim -pql scene.py MyScene
# Quality flags: -ql (low), -qm (medium), -qh (high), -qk (4k)
manim -pqh scene.py MyScene
Key Differences from 3b1b/ManimGL
| Feature | Manim Community | 3b1b/ManimGL |
|---|---|---|
| Import | from manim import * |
from manimlib import * |
| CLI | manim |
manimgl |
| Math text | MathTex(r"\pi") |
Tex(R"\pi") |
| Scene | Scene |
InteractiveScene |
| Package | manim (PyPI) |
manimgl (PyPI) |
Jupyter Notebook Support
Use the %%manim cell magic:
%%manim -qm MyScene
class MyScene(Scene):
def construct(self):
self.play(Create(Circle()))
Common Pitfalls to Avoid
- Version confusion
Häufige Fragen
Was ist Manim Community Edition?
Es ist eine von der Community gepflegte Python-Bibliothek für Mathematik- und Naturwissenschaftsanimationen.
Deckt er mathematische Formeln ab?
Ja. Er behandelt LaTeX-Formeln mit MathTex und wie man Teile davon einfärbt.
Deckt er 3D ab?
Ja. Er behandelt 3D-Szenen und Kamerasteuerung.
Details
Originalbeschreibung des Autors
Trigger when: (1) User mentions "manim" or "Manim Community" or "ManimCE", (2) Code contains `from manim import *`, (3) User runs `manim` CLI commands, (4) Working with Scene, MathTex, Create(), or ManimCE-specific classes. Best practices for Manim Community Edition - the community-maintained Python animation engine. Covers Scene structure, animations, LaTeX/MathTex, 3D with ThreeDScene, camera control, styling, and CLI usage. NOT for ManimGL/3b1b version (which uses `manimlib` imports and `manimgl` CLI).
repo: calesthio/OpenMontage
Beliebtheit
- GitHub-Sterne
- 75k
- Platz im Ranking
- #2673
- Lizenz
- AGPL-3.0
- Aktualisiert
- 28.10.2026
Kommentare
- …
Weitere Skills aus diesem Repository
3d-asset-generation
75kHilft deinem Agenten zu wählen, wie 3D-Objekte für eine Szene entstehen, mit Katalogen, Text- oder Bild-zu-3D-Werkzeugen und Blender für den letzten Zusammenbau.
acestep
75kHilft deinem Agenten, Hintergrundmusik, Songs, Jingles und Stems für ein Video mit dem offenen Musikgenerator ACE-Step zu erstellen.
agents
75kHilft deinem Agenten, Sprach-KI-Assistenten mit ElevenLabs zu bauen, etwa Kundenservice-Bots und interaktive Sprechfiguren.
ai-video-gen
75kHilft deinem Agenten, KI-Videoclips aus einer Textbeschreibung oder einem Referenzbild zu erzeugen, und wählt dafür zwischen mehreren Videodiensten.
Ähnliche Skills
diffs
394kLässt deinen Agenten einen echten, teilbaren Diff seiner Änderungen als Viewer-Link oder Bilddatei erstellen, statt einer handgeschriebenen Zusammenfassung.
coding-agent
394kHilft deinem Agenten, eine größere Programmieraufgabe als Hintergrund-Worker an Codex, Claude Code oder OpenCode zu übergeben und danach den Fortschritt zu prüfen.
gh-issues
394kHilft deinem Agenten, GitHub-Issues zu finden, die zu bearbeitenden auszuwählen und Pull Requests mit Korrekturen zu öffnen, einschließlich der Nacharbeit an Review-Kommentaren.