一键导入
manim-video
Create mathematical animations and explainer videos with Manim Community - code-driven animations for math, CS concepts, data visualization.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create mathematical animations and explainer videos with Manim Community - code-driven animations for math, CS concepts, data visualization.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Compress conversation context — summarize the current session, extract key decisions and facts, then compact history to free up context window.
Generate insights about your Claude Code usage — what topics you work on most, common patterns, productivity trends.
Route Claude Code work by complexity, risk, and tool needs. Use when deciding how much reasoning depth a task needs, whether to read project memory first, whether the task should be decomposed, and whether the work is lightweight, standard, or investigation-heavy.
Query Polymarket prediction markets for probability data and research insights on real-world events.
Search and retrieve academic papers from arXiv using their free REST API. No API key needed.
Query Base (Ethereum L2) blockchain data — wallet balances, token info, transactions, gas analysis, contract inspection. No API key required.
| name | manim-video |
| description | Create mathematical animations and explainer videos with Manim Community - code-driven animations for math, CS concepts, data visualization. |
| version | 1.0.0 |
| author | hermes-CCC (ported from Hermes Agent by NousResearch) |
| license | MIT |
| metadata | {"hermes":{"tags":["Creative","Manim","Animation","Video","Mathematics","Visualization"],"related_skills":[]}} |
pip install manim
manim --version.from manim import *
class MyScene(Scene):
def construct(self):
text = Text("Hello, Manim")
self.play(Write(text))
self.wait()
scene.py.manim -pql scene.py MyScene
-pql means preview plus quality low.-pqh when you want a higher-quality render for export or sharing.CircleSquareTextMathTexAxesNumberPlaneArrowThese cover a large fraction of introductory math and CS explainer work.
from manim import *
class Shapes(Scene):
def construct(self):
circle = Circle(color=BLUE)
square = Square(color=GREEN).shift(RIGHT * 2)
arrow = Arrow(circle.get_right(), square.get_left(), color=YELLOW)
self.play(Create(circle), Create(square))
self.play(Create(arrow))
self.wait()
Text for plain words, labels, titles, and UI-like annotations.MathTex for equations and symbolic math..next_to() and .to_edge().from manim import *
class Derivative(Scene):
def construct(self):
expr = MathTex(r"\frac{d}{dx} x^2 = 2x")
self.play(Write(expr))
self.wait()
MathTex is one of Manim's highest-value primitives for educational video.from manim import *
class PlotExample(Scene):
def construct(self):
ax = Axes()
graph = ax.plot(lambda x: x**2, color=BLUE)
label = ax.get_graph_label(graph, label="x^2")
self.play(Create(ax))
self.play(Create(graph), FadeIn(label))
self.wait()
Axes() for standard 2D coordinate systems.NumberPlane() when you want a visible grid..plot() for function graphs.from manim import *
class PlaneExample(Scene):
def construct(self):
plane = NumberPlane()
point = Dot(plane.c2p(2, 3), color=RED)
note = Text("Point (2, 3)").scale(0.5).next_to(point, UP)
self.play(Create(plane))
self.play(FadeIn(point), Write(note))
self.wait()
CreateWriteTransformFadeInFadeOutMoveAlongPathThese are enough to build most educational sequences.
from manim import *
class AnimateBasics(Scene):
def construct(self):
circle = Circle(color=BLUE)
square = Square(color=GREEN)
self.play(Create(circle))
self.play(Transform(circle, square))
self.play(FadeOut(circle))
from manim import *
class AlongPath(Scene):
def construct(self):
path = Circle(radius=2, color=WHITE)
dot = Dot(color=YELLOW).move_to(path.point_from_proportion(0))
self.add(path, dot)
self.play(MoveAlongPath(dot, path), run_time=3)
self.wait()
MoveAlongPath is useful for state machines, orbital motion, and process flow visuals..shift().move_to().next_to().align_to().to_edge().to_corner()VGroup(...) for grouping and arrangementGood layout discipline saves time during revision.
REDBLUEGREENYELLOWWHITEORANGEPURPLETEALUse consistent semantic coloring across the scene.
WHITE or light tones for neutral reference geometry.from manim import *
class CameraExample(Scene):
def construct(self):
plane = NumberPlane()
self.add(plane)
self.play(self.camera.frame.animate.scale(0.5))
self.wait()
media/videos/.media/ tree.self.wait() to hold the frame.run_time= on animation calls to tune pacing.This pattern works for algorithms, math derivations, and data stories.
Transformfrom manim import *
class My3DScene(ThreeDScene):
def construct(self):
axes = ThreeDAxes()
sphere = Sphere(radius=1, color=BLUE)
self.set_camera_orientation(phi=75 * DEGREES, theta=30 * DEGREES)
self.play(Create(axes), FadeIn(sphere))
self.begin_ambient_camera_rotation(rate=0.2)
self.wait(3)
ThreeDScene for surfaces, vectors, and spatial intuition.-pql for fast feedback.pip install manim.class MyScene(Scene): def construct(self):.Circle, Square, Text, MathTex, Axes, NumberPlane, and Arrow.Create, Write, Transform, FadeIn, FadeOut, and MoveAlongPath.manim -pql scene.py MyScene and switch to -pqh for higher quality.MathTex(r"\\frac{d}{dx} x^2 = 2x") for math and Axes().plot(...) for graphs.self.camera.frame.animate.scale(0.5) when zooming improves comprehension.media/videos/.