manimce-best-practices
하는 일
이 스킬은 Manim Community Edition 애니메이션 코드를 올바르게 쓰도록 돕습니다. Python으로 수학과 과학 애니메이션을 만드는 프로그래머를 위한 스킬입니다.
사용하는 경우
- ✓Manim Community Edition 라이브러리로 Python 코드를 쓰고 있을 때.
- ✓Manim으로 수식, 텍스트, 도형을 애니메이션하려고 할 때.
- ✓Manim으로 3D 장면을 만들며 올바른 카메라와 객체 규칙이 필요할 때.
스킬 링크
https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/manimce-best-practices/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“정사각형이 원으로 바뀌고 짧은 텍스트 라벨이 함께 나오는 Manim 장면을 써 주세요.”
매주 새 스킬 5개. 읽는 데 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
- 업데이트
- 2026. 10. 28.
댓글
- …
이 저장소의 다른 스킬
3d-asset-generation
75k카탈로그, 텍스트·이미지 3D 변환 도구, Blender를 활용해 장면에 쓸 3D 오브젝트를 만드는 방법을 고르도록 돕습니다.
acestep
75k오픈소스 ACE-Step 음악 생성기를 사용해 영상에 쓸 배경 음악, 노래, 징글, 스템을 만들도록 돕습니다.
agents
75kElevenLabs로 고객 응대 봇이나 대화형 음성 캐릭터 같은 음성 AI 에이전트를 만들도록 돕습니다.
ai-video-gen
75k텍스트 설명이나 참고 이미지로 AI 영상 클립을 만들며, 여러 영상 생성 서비스 중에서 고르도록 돕습니다.