manim by davila7/claude-code-templates
npx skills add https://github.com/davila7/claude-code-templates --skill manim使用 Manim Community 创建数学动画的综合技能集,这是一个用于通过编程方式创建解释性数学视频的 Python 框架,由 3Blue1Brown 推广普及。
每当您处理 Manim 代码时,都可以使用此技能来获取特定领域的知识,例如:
Manim 允许您使用以下元素创建动画:
阅读各个规则文件以获取详细解释和代码示例:
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
有关变换、时序、形状、坐标系、3D 动画、相机移动和高级功能等其他主题,请参阅全面的 Manim Community 文档。
from manim import *
class SquareToCircle(Scene):
def construct(self):
# 创建一个正方形
square = Square()
square.set_fill(BLUE, opacity=0.5)
# 创建一个圆形
circle = Circle()
circle.set_fill(RED, opacity=0.5)
# 为正方形的创建制作动画
self.play(Create(square))
self.wait(1)
# 将正方形变换为圆形
self.play(Transform(square, circle))
self.wait(1)
# 淡出
self.play(FadeOut(square))
使用以下命令渲染:manim -pql script.py SquareToCircle
-ql 标志进行更快的预览渲染-p 标志自动打开渲染的视频# 低质量预览(快速)
manim -pql script.py SceneName
# 高质量渲染
manim -pqh script.py SceneName
# 将最后一帧保存为图像
manim -s script.py SceneName
# 渲染多个场景
manim script.py Scene1 Scene2
每周安装量
172
代码仓库
GitHub 星标数
23.5K
首次出现
2026 年 1 月 22 日
安全审计
安装于
opencode147
cursor145
gemini-cli141
claude-code138
codex130
github-copilot123
Comprehensive skill set for creating mathematical animations using Manim Community, a Python framework for creating explanatory math videos programmatically, popularized by 3Blue1Brown.
Use this skill whenever you are dealing with Manim code to obtain domain-specific knowledge about:
Manim allows you to create animations using:
Read individual rule files for detailed explanations and code examples:
For additional topics including transforms, timing, shapes, coordinate systems, 3D animations, camera movement, and advanced features, refer to the comprehensive Manim Community documentation.
from manim import *
class SquareToCircle(Scene):
def construct(self):
# Create a square
square = Square()
square.set_fill(BLUE, opacity=0.5)
# Create a circle
circle = Circle()
circle.set_fill(RED, opacity=0.5)
# Animate square creation
self.play(Create(square))
self.wait(1)
# Transform square into circle
self.play(Transform(square, circle))
self.wait(1)
# Fade out
self.play(FadeOut(square))
Render with: manim -pql script.py SquareToCircle
-ql flag for faster preview renders-p flag to automatically open rendered videos# Preview at low quality (fast)
manim -pql script.py SceneName
# Render at high quality
manim -pqh script.py SceneName
# Save last frame as image
manim -s script.py SceneName
# Render multiple scenes
manim script.py Scene1 Scene2
Weekly Installs
172
Repository
GitHub Stars
23.5K
First Seen
Jan 22, 2026
Security Audits
Gen Agent Trust HubFailSocketPassSnykPass
Installed on
opencode147
cursor145
gemini-cli141
claude-code138
codex130
github-copilot123
FastAPI官方技能:Python Web开发最佳实践与CLI工具使用指南
1,100 周安装