jpskill.com
🛠️ 開発・MCP コミュニティ

manimce-best-practices

Manim Community EditionというPythonアニメーションエンジンで、Scene構造やアニメーション、数式表現、3D、カメラ操作、スタイル設定、CLIコマンド利用など、より良い動画を作るための実践的な方法をアドバイスするSkill。

📜 元の英語説明(参考)

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).

🇯🇵 日本人クリエイター向け解説

一言でいうと

Manim Community EditionというPythonアニメーションエンジンで、Scene構造やアニメーション、数式表現、3D、カメラ操作、スタイル設定、CLIコマンド利用など、より良い動画を作るための実践的な方法をアドバイスするSkill。

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o manimce-best-practices.zip https://jpskill.com/download/9659.zip && unzip -o manimce-best-practices.zip && rm manimce-best-practices.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/9659.zip -OutFile "$d\manimce-best-practices.zip"; Expand-Archive "$d\manimce-best-practices.zip" -DestinationPath $d -Force; ri "$d\manimce-best-practices.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して manimce-best-practices.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → manimce-best-practices フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-18
取得日時
2026-05-18
同梱ファイル
1

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

使い方

詳細な説明とコード例については、個々のルールファイルをお読みください。

コアコンセプト

  • rules/scenes.md - シーンの構造、construct メソッド、およびシーンの種類
  • rules/mobjects.md - Mobject の種類、VMobject、Groups、およびポジショニング
  • rules/animations.md - Animation クラス、アニメーションの再生、およびタイミング

作成と変換

テキストと数式

スタイリングと外観

  • rules/colors.md - Color 定数、グラデーション、および色の操作
  • rules/styling.md - Fill, stroke, opacity, および視覚的プロパティ

ポジショニングとレイアウト

座標系とグラフ作成

アニメーション制御

設定と CLI

  • rules/cli.md - コマンドラインインターフェース、レンダリングオプション、品質フラグ
  • rules/config.md - 構成システム、manim.cfg、設定

図形とジオメトリ

  • rules/shapes.md - Circle, Square, Rectangle, Polygon, および幾何学的プリミティブ
  • rules/lines.md - Line, Arrow, Vector, DashedLine, およびコネクタ

動作例

一般的なパターンを示す、完全でテスト済みのサンプルファイル:

シーンテンプレート

これらのテンプレートをコピーして変更し、新しいプロジェクトを開始します。

クイックリファレンス

基本的なシーン構造

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

3b1b/ManimGL との主な違い

機能 Manim Community 3b1b/ManimGL
インポート from manim import * from manimlib import *
CLI manim manimgl
数式テキスト MathTex(r"\pi") Tex(R"\pi")
シーン Scene InteractiveScene
パッケージ manim (PyPI) manimgl (PyPI)

Jupyter Notebook のサポート

%%manim セルマジックを使用します。

%%manim -qm MyScene
class MyScene(Scene):
    def construct(self):
        self.play(Create(Circle()))

避けるべき一般的な落とし穴

  1. バージョンの混同 - manim (Community) を使用していることを確認してください。manimgl (3b1b バージョン) ではありません。
  2. インポートの確認 - from manim import * は ManimCE です。from manimlib import * は ManimGL です。
  3. 古いチュートリアル - ビデオチュートリアルは古い可能性があります。公式ドキュメントを優先してください。
  4. manimpango の問題 - テキストレンダリングが失敗する場合は、manimpango のインストール要件を確認してください。
  5. PATH の問題 (Windows) - manim コマンドが見つからない場合は、python -m manim を使用するか、PATH を確認してください。

インストール

# Install Manim Community
pip install manim

# Check installation
manim checkhealth

便利なコマンド

manim -pql scene.py Scene    # 低品質プレビュー (開発用)
manim -pqh scene.py Scene    # 高品質プレビュー
manim --format gif scene.py  # GIF として出力
manim checkhealth            # インストール確認
manim plugins -l             # プラグイン一覧
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

How to use

Read individual rule files for detailed explanations and code examples:

Core Concepts

Creation & Transformation

Text & Math

Styling & Appearance

Positioning & Layout

Coordinate Systems & Graphing

Animation Control

Configuration & CLI

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:

Scene Templates

Copy and modify these templates to start new projects:

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

  1. Version confusion - Ensure you're using manim (Community), not manimgl (3b1b version)
  2. Check imports - from manim import * is ManimCE; from manimlib import * is ManimGL
  3. Outdated tutorials - Video tutorials may be outdated; prefer official documentation
  4. manimpango issues - If text rendering fails, check manimpango installation requirements
  5. PATH issues (Windows) - If manim command not found, use python -m manim or check PATH

Installation

# Install Manim Community
pip install manim

# Check installation
manim checkhealth

Useful Commands

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