Zum Inhalt springen
Skillpedia
Allgemeines Programmieren75k · #2673

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.md

Kopiere 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

Nutze diesen Skill, um mir zu helfen: https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/manimce-best-practices/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

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

Creation & Transformation

Text & Math

Styling & Appearance

Positioning & Layout

Coordinate Systems & Graphing

Animation Control

Configuration & CLI

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:

Scene Templates

Copy and modify these templates to start new projects:

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

  1. 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

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills