manimce-best-practices by adithya-s-k/manim_skill
npx skills add https://github.com/adithya-s-k/manim_skill --skill manimce-best-practices阅读各个规则文件以获取详细说明和代码示例:
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
完整、经过测试的示例文件,展示常见模式:
复制并修改这些模板以开始新项目:
from manim import *
class MyScene(Scene):
def construct(self):
# 创建 mobject
circle = Circle()
# 添加到场景(静态)
self.add(circle)
# 或进行动画
self.play(Create(circle))
# 等待
self.wait(1)
# 带预览的基本渲染
manim -pql scene.py MyScene
# 质量标志:-ql(低)、-qm(中)、-qh(高)、-qk(4k)
manim -pqh scene.py MyScene
| 功能 | Manim Community | 3b1b/ManimGL |
|---|---|---|
| 导入 | from manim import * | from manimlib import * |
| 命令行界面 | manim | manimgl |
| 数学文本 | MathTex(r"\pi") | Tex(R"\pi") |
| 场景 | Scene | InteractiveScene |
| 包 | manim (PyPI) | manimgl (PyPI) |
使用 %%manim 单元格魔法:
%%manim -qm MyScene
class MyScene(Scene):
def construct(self):
self.play(Create(Circle()))
manim(社区版),而不是 manimgl(3b1b 版本)from manim import * 是 ManimCE;from manimlib import * 是 ManimGLmanim 命令,请使用 python -m manim 或检查 PATH# 安装 Manim Community
pip install manim
# 检查安装
manim checkhealth
manim -pql scene.py Scene # 预览低质量(开发用)
manim -pqh scene.py Scene # 预览高质量
manim --format gif scene.py # 输出为 GIF
manim checkhealth # 验证安装
manim plugins -l # 列出插件
每周安装量
1.0K
代码仓库
GitHub 星标
665
首次出现
2026年1月22日
安全审计
已安装于
claude-code773
gemini-cli716
opencode704
codex696
cursor593
github-copilot473
Read individual rule files for detailed explanations and code examples:
Complete, tested example files demonstrating common patterns:
Copy and modify these templates to start new projects:
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)
# Basic render with preview
manim -pql scene.py MyScene
# Quality flags: -ql (low), -qm (medium), -qh (high), -qk (4k)
manim -pqh scene.py MyScene
| 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 |
Use the %%manim cell magic:
%%manim -qm MyScene
class MyScene(Scene):
def construct(self):
self.play(Create(Circle()))
manim (Community), not manimgl (3b1b version)from manim import * is ManimCE; from manimlib import * is ManimGLmanim command not found, use python -m manim or check PATH# Install Manim Community
pip install manim
# Check installation
manim checkhealth
manim -pql scene.py Scene # Preview low quality (development)
manim -pqh scene.py Scene # Preview high quality
manim --format gif scene.py # Output as GIF
manim checkhealth # Verify installation
manim plugins -l # List plugins
Weekly Installs
1.0K
Repository
GitHub Stars
665
First Seen
Jan 22, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
claude-code773
gemini-cli716
opencode704
codex696
cursor593
github-copilot473
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
102,200 周安装
InteractiveScene |
| Package | manim (PyPI) | manimgl (PyPI) |