manimce-best-practices
यह क्या करती है
यह स्किल डेवलपर को Manim Community Edition का एनिमेशन कोड सही तरीके से लिखने में मदद करती है। यह उन प्रोग्रामर के लिए है जो Python में गणित और विज्ञान के एनिमेशन बनाते हैं।
कब इस्तेमाल करें
- ✓जब आप Manim Community Edition लाइब्रेरी के साथ Python कोड लिख रहे हों।
- ✓जब आपको Manim से गणित के फ़ॉर्मूले, टेक्स्ट या आकारों को एनिमेट करना हो।
- ✓जब आप Manim में 3D सीन बना रहे हों और कैमरा व ऑब्जेक्ट के सही नियम चाहिए।
Skill का लिंक
https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/manimce-best-practices/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“एक Manim सीन लिखें जिसमें एक वर्ग एक छोटे टेक्स्ट लेबल के साथ वृत्त में बदलता दिखे।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
स्किल सीन, आकार, एनिमेशन, LaTeX फ़ॉर्मूले, रंग और स्थिति के लिए नियम और उदाहरण देती है, ताकि आपका एजेंट काम करने वाला Manim कोड लिख सके।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे 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
अक्सर पूछे जाने वाले सवाल
Manim Community Edition क्या है?
यह एक समुदाय द्वारा संचालित Python लाइब्रेरी है जो गणित और विज्ञान के एनिमेशन बनाने के लिए है।
क्या यह गणित के फ़ॉर्मूले कवर करती है?
हाँ। इसमें MathTex के साथ LaTeX फ़ॉर्मूले और उनके हिस्सों को रंग देने का तरीका शामिल है।
क्या इसमें 3D है?
हाँ। इसमें 3D सीन और कैमरा नियंत्रण शामिल हैं।
जानकारी
लेखक का मूल विवरण
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
लोकप्रियता
- GitHub स्टार
- 75k
- रैंकिंग में स्थान
- #2673
- लाइसेंस
- AGPL-3.0
- अपडेट की गई
- 28/10/2026
कमेंट
- …
इस repository की और skills
3d-asset-generation
75kकैटलॉग, टेक्स्ट या इमेज से 3D टूल और अंतिम जोड़ के लिए Blender का उपयोग करके दृश्य के लिए 3D वस्तुएँ बनाने का तरीका चुनने में मदद करती है।
acestep
75kखुले ACE-Step संगीत जनरेटर से वीडियो के लिए बैकग्राउंड संगीत, गाने, जिंगल और stems बनाने में मदद करती है।
agents
75kElevenLabs से वॉइस AI सहायक बनाने में मदद करती है, जैसे ग्राहक सेवा बॉट और इंटरएक्टिव आवाज़ वाले पात्र।
ai-video-gen
75kटेक्स्ट विवरण या संदर्भ इमेज से AI वीडियो क्लिप बनाने में मदद करती है, कई वीडियो जनरेशन सेवाओं में से चुनकर।
मिलती-जुलती skills
diffs
394kयह आपके एजेंट को बदलावों का असली diff बनाने देती है, जिसे व्यूअर लिंक या इमेज फ़ाइल के रूप में साझा किया जा सकता है, हाथ से लिखे सारांश के बजाय।
coding-agent
394kयह आपके एजेंट को बड़े कोडिंग काम Codex, Claude Code या OpenCode को बैकग्राउंड वर्कर के रूप में सौंपने, फिर उसकी प्रगति जांचने में मदद करती है।
gh-issues
394kयह आपके एजेंट को GitHub issues खोजने, उनमें से काम करने लायक चुनने, और सुधार के साथ pull requests खोलने में मदद करती है, जिसमें समीक्षा टिप्पणियों का फ़ॉलो-अप भी शामिल है।