Animate the intuition behind a math or CS concept
何时使用: A concept is easier with motion than with words (gradient descent, sorting, Fourier).
前置条件
- manim installed — pip install manim (or uv add manim); ensure ffmpeg present
- Skill installed — git clone https://github.com/Yusuke710/manim-skill ~/.claude/skills/manim-skill
步骤
-
State the conceptUse manim-skill. Animate gradient descent on a 2D loss surface — ball rolling, learning rate visibly affects step size.✓ 已复制→ Scene plan + code + low-q preview rendered
-
IterateSlower at first, faster once it's in the valley. Label the axes.✓ 已复制→ Code updated, re-rendered preview
-
Final renderLooks good — render at 1080p60.✓ 已复制→ High-q mp4 produced
结果: An explainer video you can embed in a blog post.
注意事项
- Manim code has breaking changes across versions — Pin your manim version in requirements; the skill's prompts assume recent Community Edition