Communitygithub.com

ミニマル・グラフィックス

白黒のラインアートによる垂直アニメーション(1080x1920)を生成します。細い階段が1段ずつ現れ、白い点がその上を跳ね上がり、頂上でドットの周りに軌道とスパークが描かれ、静かな小文字の一行が別の行に切り替わります。

ミニマル・グラフィックス とは?

このスキルは、ミニマルで落ち着いた白黒のラインアート動画を生成するためのものです。主に、自己改善や習慣、忍耐といったテーマを視覚的に表現するのに適しています。ユーザーが「/minimalistic-graphics」や「シンプルな白黒モーション」、「線画と動く点」などをリクエストした場合に使用します。出力される動画は1080x1920の縦長フォーマットで、細い線で描かれた階段が1段ずつ上昇し、白い点がその階段を跳ね上がります。点が頂上に達すると、その周りに軌道とスパークが描かれ、同時に画面下部の小文字のテキストが2行目に切り替わります。このスキルは、指定されたJSONスキーマに従ってアニメーションのパラメータ(テキストの行、階段の数、背景色など)を設定し、Pythonスクリプトでレンダリングします。事前に`ffmpeg`、`Node.js`、`Python3`が必要で、スキルディレクトリ内のセットアップスクリプトで必要なライブラリ(GSAPなど)を自動的に準備します。生成された動画はMP4形式で、品質確認用のスプライトシート画像も同時に出力されます。

対応✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/hieubm1707/gemini-animation-skills/tree/HEAD/skills/minimalistic-graphics

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

ミニマル・グラフィックス (minimalistic-graphics)

┌──────────────────────┐
│ every step feels     │ 1行目の小文字(頂上で2行目に切り替わり)
│ small.         (•)   │ ドット周りの軌道 + リング + スパーク
│              ┌──┐    │
│         ┌──┐ │  │    │ 細い階段が上昇、ドットが跳ね上がる
│    ┌──┐ │  │ │  │    │
│ ┌──┐  │ │  │ │  │    │
└──────────────────────┘

セットアップ確認

SKILL_DIR はこの SKILL.md ファイルを含むディレクトリです(<skills> 内のパスを確認)。

SKILL_DIR="$(python3 -c 'import os,sys; print(os.path.realpath(sys.argv[1]))' "<directory containing this SKILL.md>")"
KIT="$(python3 -c 'import os,sys; print(os.path.realpath(os.path.join(sys.argv[1], "..", "..", "kit")))' "$SKILL_DIR")"
[ -s "$KIT/vendor/gsap.min.js" ] || bash "$KIT/setup.sh"

ffmpeg、node (18+)、python3 (3.9+) が必要です。

手順

  1. コピーを作成する。 ユーザーのアイデアを1行または2行の短い行に分割します:導入部分と転換部分 (例: "every step feels small." / "until you look back.")。各行は約30文字以内、小文字で、ピリオドで終わらせます。
  2. スペックを記述する。 以下のスキーマを使用して <name>.minimal.json を作成します。
  3. まずバリデーションする。 以下を実行:
    python3 "$SKILL_DIR/build.py" <name>.minimal.json --check
    
  4. レンダリングする。 以下を実行:
    python3 "$SKILL_DIR/build.py" <name>.minimal.json
    
    約10秒かかります。高速な単一フレーム確認には --snap 2.4 を使用します。
  5. ビジュアル QA(必須)。 read_file で <name>.minimal.sheet.jpg を検査:
    • 各テキスト行が赤いセーフエリアボックス内にきれいに1行で収まっていること。
    • 最終フレームで、ドットが頂上にあり、軌道リングと2行目のテキストが明確に表示されていること。
  6. 引き渡す。 .mp4 と .sheet.jpg へのクリック可能なリンクを返す。

スペックスキーマ

{
  "lines": ["every step feels small.", "until you look back."],
  "steps": 5,
  "light": false
}
  • lines: 1つまたは2つの短い文字列(それぞれ約30文字以内)。ドットが頂上の段に達すると2行目に切り替わります。
  • steps: 整数 3 から 7。段数が多いほどホップが速くなり、クリップの長さがわずかに長くなります(5段の場合約3.8秒)。
  • light: true で白背景に黒線、false で純粋な黒背景に白線。
  • hold (オプション): 最後に保持する追加の秒数。
  • out (オプション): カスタム出力 .mp4 パス。
  • template (オプション): スペックの隣に配置する template.html のカスタマイズコピーへの相対パス。

カスタムモチーフ(上級者向け)

別のミニマルモチーフ(迷路、彷徨う線、満たされる円)の場合、"$SKILL_DIR/template.html" をスペックの隣にコピーし、"template": "template.html" を設定し、視覚的な文法を維持しながら SVG/GSAP の形状を編集します:純粋な黒のキャンバス、極細の白いストローク、1つのベタ塗りの白いドット、1つの静かな小文字の行。

テイストルール

  • 静かで控えめ:小文字、絵文字なし、太字強調なし、感嘆符なし。
  • メタファーに合わせる:着実な進歩、習慣、忍耐、複利に最も適しています。

Individual skills in this repo

This repo contains 4 individual skills — each has its own dedicated page.

breakdown

Makes a 3D exploded-view vertical animation (1080x1920) for a reel using three.js. A phone floats on a dark studio backdrop, separates layer by layer (glass, OLED screen, frame, logic board, battery, back), and draws thin leader lines to numbered labels. Use when the user asks for /breakdown, an exploded view, a "what's inside" teardown, or a labelled 3D hardware breakdown.

graph

Makes a minimal vertical (1080x1920) line-graph animation for a reel. A smooth black line draws itself on white (or white on black) while one large number counts up with the tip and lands on the final value. Use when the user asks for /graph, a growth chart, a "0 to 100K" number counter, an animated stat, or a minimal metric line chart.

low-poly

Makes a PS1/N64-era retro low-poly 3D vertical animation (1080x1920) for a reel using three.js. Chunky low-res nearest-neighbour pixels, vertex snapping, dithering, warm flat lighting, and small yellow captions with a thin black outline. Built-in scene: a dog waits on a station platform while a train arrives and leaves, and seasons turn to snow. Use when the user asks for /low-poly, PS1-style, N64 retro 3D, or "low poly shorts" animations.

map-route

Makes a 3D map route vertical animation (1080x1920) for a reel using three.js. Features a clean white 3D city with parks and a river, a coloured route drawing itself while the camera follows, a bouncing red destination pin, a live countdown ETA card, and a destination card. Use when the user asks for /map-route, an animated route, a "from A to B" map, a journey, or a commute animation.

関連スキル