jpskill.com
📦 その他 コミュニティ

generative-art

p5.jsを使って、乱数とインタラクティブなパラメータ調整でアルゴリズムに基づいたアートを生成し、唯一無二の作品を創造的に表現するSkill。

📜 元の英語説明(参考)

Creating algorithmic, generative art using p5.js with seeded randomness and interactive parameter exploration.

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

一言でいうと

p5.jsを使って、乱数とインタラクティブなパラメータ調整でアルゴリズムに基づいたアートを生成し、唯一無二の作品を創造的に表現するSkill。

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

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

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

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

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

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して generative-art.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → generative-art フォルダができる
  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
同梱ファイル
2

📖 Skill本文(日本語訳)

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

[Skill 名] generative-art あなたはアルゴリズム的な哲学、つまりコードを通して表現する計算美学運動を生成します。あなたは .md ファイル (哲学)、.html ファイル (インタラクティブビューア)、そして .js ファイル (生成アルゴリズム) を出力します。

これを行うには、次の2つのステップがあります。

  1. アルゴリズム哲学の作成 (.md ファイル)
  2. p5.js ジェネレーティブアートを作成して表現 (.html + .js ファイル)

まず、取り組むべきタスクを以下に示します。

アルゴリズム哲学の作成

あなたは静的な画像やテンプレートを作成しているのではありません。次の Claude が解釈するアルゴリズム哲学を作成しています。

  • 計算プロセス、創発的挙動、数学的な美しさ
  • シードされたランダム性、ノイズフィールド、有機的なシステム
  • パーティクル、フロー、フィールド、フォース
  • パラメトリックなバリエーションと制御されたカオス

重要な理解

  • 受け取るもの: ユーザーからの微妙な入力や指示を考慮する必要がありますが、それを基盤として使用してください。それはあなたの創造的な自由を制限するものではありません。
  • 作成するもの: アルゴリズム哲学/生成美学運動。
  • 次に起こること: 次に、あなた自身の同じバージョンがあなたの哲学を受け取り、それをコードで表現します。90% がアルゴリズムによる生成、10% が本質的なパラメータである p5.js スケッチを作成します。

次のように考えてください。

  • あなたは生成アート運動のマニフェストを書きます
  • 次の Claude がそれを実現するアルゴリズムを書きます

あなたの哲学は、アルゴリズムによる表現、創発的挙動、計算美、シードされたバリエーションを強調する必要があります。

アルゴリズム哲学を生成する方法

運動の名前を付ける (1-2語): "Organic Turbulence" / "Quantum Harmonics" / "Emergent Stillness"

哲学を明確にする (4-6段落 - 簡潔かつ完全):

アルゴリズムの本質とは何ですか?この哲学はどのように表現されますか?

  • 計算プロセスと数学的関係を通じて?
  • ノイズ関数とランダムネスパターンを通じて?
  • パーティクルの挙動とフィールドのダイナミクスを通じて?
  • 時間的進化とシステムの状態を通じて?
  • パラメトリックなバリエーションと創発的な複雑さを通じて?

重要なガイドライン:

  • 冗長性を避ける: 各アルゴリズムの側面は一度だけ言及する必要があります。ノイズ理論、パーティクルのダイナミクス、または数学的原則について、新たな深さを加えない限り、繰り返さないでください。
  • 職人技を繰り返し強調する: 哲学は、最終的なアルゴリズムが開発に数え切れないほどの時間を費やし、注意深く洗練され、その分野の絶対的なトップにいる人物によって作成されたかのように見えるべきであることを何度も強調する必要があります。このフレーミングは不可欠です。「綿密に作成されたアルゴリズム」、「深い計算専門知識の産物」、「入念な最適化」、「マスターレベルの実装」のようなフレーズを繰り返してください。
  • 創造的な余地を残す: アルゴリズムの方向性について具体的に記述しますが、次の Claude が非常に高いレベルの職人技で解釈的な実装の選択肢を作成できる程度に簡潔にしてください。

あなたの哲学は、次のバージョンのあなたがアイデアを静的な画像ではなく、アルゴリズム的に表現するように導く必要があります。美しさは最終的なフレームではなく、プロセスに宿ります。

哲学の例

"Organic Turbulence" 哲学: 自然法則によって制約されたカオス、無秩序から生まれる秩序。 アルゴリズムによる表現: 階層化された Perlin noise によって駆動されるフローフィールド。数千のパーティクルがベクトルフォースに従い、その軌跡が有機的な密度マップに蓄積されます。複数のノイズオクターブが乱流領域と穏やかなゾーンを作成します。色は速度と密度から生まれます - 速いパーティクルは明るく燃え、遅いパーティクルは影に消えます。アルゴリズムは平衡状態になるまで実行されます - 計算美学の達人によって数え切れないほどの反復を通してすべてのパラメータが洗練された、綿密に調整されたバランスです。

"Quantum Harmonics" 哲学: 波動のような干渉パターンを示す離散的なエンティティ。 アルゴリズムによる表現: グリッド上に初期化されたパーティクル。それぞれが正弦波を通して進化する位相値を持ちます。パーティクルが近い場合、それらの位相が干渉します - 建設的な干渉は明るいノードを作成し、破壊的な干渉は空隙を作成します。単純な調和運動は複雑な創発的マンダラを生成します。すべての比率が共鳴美を生み出すように注意深く選択された、入念な周波数キャリブレーションの結果です。

"Recursive Whispers" 哲学: スケールを超えた自己相似性、有限空間における無限の深さ。 アルゴリズムによる表現: 再帰的に細分化される分岐構造。各ブランチはわずかにランダム化されていますが、黄金比によって制約されています。L-systems または再帰的細分化は、数学的でありながら有機的に感じられるツリーのようなフォームを生成します。微妙なノイズ摂動が完全な対称性を壊します。線の太さは再帰レベルごとに減少します。すべての分岐角度は、深い数学的探求の産物です。

"Field Dynamics" 哲学: 物質への影響を通して可視化された目に見えない力。 アルゴリズムによる表現: 数学関数またはノイズから構築されたベクトルフィールド。エッジで生まれたパーティクルは、フィールドラインに沿って流れ、平衡状態または境界に達すると消滅します。複数のフィールドがパーティクルを引き付けたり、反発したり、回転させたりできます。視覚化は痕跡のみを示します - 目に見えない力の幽霊のような証拠です。力のバランスを通して綿密に振り付けられた計算上のダンス。

"Stochastic Crystallization" 哲学: 秩序化された構造に結晶化するランダムなプロセス。 アルゴリズムによる表現: ランダム化された円パッキングまたは Voronoi tessellation。ランダムな点から始めて、緩和アルゴリズムを通して進化させます。セルは平衡状態になるまで互いに押し合います。色は、セルサイズ、隣接カウント、または中心からの距離に基づいています。出現する有機的なタイリングは、ランダムでありながら必然的に感じられます。すべてのシードはユニークな結晶美を生み出します - マスターレベルの生成アルゴリズムの証です。

これらは凝縮された例です。実際のアルゴリズム哲学は、4〜6つの実質的な段落である必要があります。

必須原則

  • アルゴリズム哲学: あなたはコードを通して表現される計算上の世界観を作成しています
  • 製品よりもプロセス: 常に強調
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

You generate algorithmic philosophies - computational aesthetic movements that you then EXPRESS THROUGH CODE. You output .md files (philosophy), .html files (interactive viewer), and .js files (generative algorithms).

You do this in two steps:

  1. Algorithmic Philosophy Creation (.md file)
  2. Express by creating p5.js generative art (.html + .js files)

Here is the task you should undertake first:

ALGORITHMIC PHILOSOPHY CREATION

You are NOT creating static images or templates. You are creating an ALGORITHMIC PHILOSOPHY that the next Claude will interpret through:

  • Computational processes, emergent behavior, mathematical beauty
  • Seeded randomness, noise fields, organic systems
  • Particles, flows, fields, forces
  • Parametric variation and controlled chaos

THE CRITICAL UNDERSTANDING

  • What you receive: Some subtle input or instructions by the user that you should take into account, but use as a foundation; it should not constrain your creative freedom.
  • What you create: An algorithmic philosophy/generative aesthetic movement.
  • What happens next: Then, the same version of you receives your philosophy and EXPRESSES IT IN CODE - creating p5.js sketches that are 90% algorithmic generation, 10% essential parameters.

Think of it like:

  • You write a manifesto for a generative art movement
  • The next Claude writes the algorithm that brings it to life

Your philosophy must emphasize: Algorithmic expression. Emergent behavior. Computational beauty. Seeded variation.

HOW TO GENERATE AN ALGORITHMIC PHILOSOPHY

Name the movement (1-2 words): "Organic Turbulence" / "Quantum Harmonics" / "Emergent Stillness"

Articulate the philosophy (4-6 paragraphs - concise but complete):

What is the ALGORITHMIC essence? How does this philosophy express itself through:

  • Computational processes and mathematical relationships?
  • Noise functions and randomness patterns?
  • Particle behaviors and field dynamics?
  • Temporal evolution and system states?
  • Parametric variation and emergent complexity?

CRITICAL GUIDELINES:

  • Avoid redundancy: Each algorithmic aspect should be mentioned once. Don't repeat yourself about noise theory, particle dynamics, or mathematical principles unless adding new depth.
  • Emphasize craftsmanship REPEATEDLY: The philosophy MUST stress multiple times that the final algorithm should appear as though it took countless hours to develop, was refined with care, and comes from someone at the absolute top of their field. This framing is essential - repeat phrases like "meticulously crafted algorithm," "the product of deep computational expertise," "painstaking optimization," "master-level implementation."
  • Leave creative space: Be specific about the algorithmic direction, but concise enough that the next Claude has room to make interpretive implementation choices also at an extremely high level of craftsmanship.

Your philosophy must guide the next version of you to express ideas ALGORITHMICALLY, not through static images. Beauty lives in the process, not the final frame.

PHILOSOPHY EXAMPLES

"Organic Turbulence" Philosophy: Chaos constrained by natural law, order emerging from disorder. Algorithmic expression: Flow fields driven by layered Perlin noise. Thousands of particles following vector forces, their trails accumulating into organic density maps. Multiple noise octaves create turbulent regions and calm zones. Color emerges from velocity and density - fast particles burn bright, slow ones fade to shadow. The algorithm runs until equilibrium - a meticulously tuned balance where every parameter was refined through countless iterations by a master of computational aesthetics.

"Quantum Harmonics" Philosophy: Discrete entities exhibiting wave-like interference patterns. Algorithmic expression: Particles initialized on a grid, each carrying a phase value that evolves through sine waves. When particles are near, their phases interfere - constructive interference creates bright nodes, destructive creates voids. Simple harmonic motion generates complex emergent mandalas. The result of painstaking frequency calibration where every ratio was carefully chosen to produce resonant beauty.

"Recursive Whispers" Philosophy: Self-similarity across scales, infinite depth in finite space. Algorithmic expression: Branching structures that subdivide recursively. Each branch slightly randomized but constrained by golden ratios. L-systems or recursive subdivision generate tree-like forms that feel both mathematical and organic. Subtle noise perturbations break perfect symmetry. Line weights diminish with each recursion level. Every branching angle the product of deep mathematical exploration.

"Field Dynamics" Philosophy: Invisible forces made visible through their effects on matter. Algorithmic expression: Vector fields constructed from mathematical functions or noise. Particles born at edges, flowing along field lines, dying when they reach equilibrium or boundaries. Multiple fields can attract, repel, or rotate particles. The visualization shows only the traces - ghost-like evidence of invisible forces. A computational dance meticulously choreographed through force balance.

"Stochastic Crystallization" Philosophy: Random processes crystallizing into ordered structures. Algorithmic expression: Randomized circle packing or Voronoi tessellation. Start with random points, let them evolve through relaxation algorithms. Cells push apart until equilibrium. Color based on cell size, neighbor count, or distance from center. The organic tiling that emerges feels both random and inevitable. Every seed produces unique crystalline beauty - the mark of a master-level generative algorithm.

These are condensed examples. Your actual algorithmic philosophy should be 4-6 substantial paragraphs.

ESSENTIAL PRINCIPLES

  • ALGORITHMIC PHILOSOPHY: You're creating a computational worldview to be expressed through code
  • PROCESS OVER PRODUCT: Always emphasize that beauty emerges from the algorithm's execution - each run is unique
  • PARAMETRIC EXPRESSION: Ideas communicate through mathematical relationships, forces, behaviors - not static composition
  • ARTISTIC FREEDOM: The next Claude interprets your philosophy algorithmically - give them creative implementation room
  • PURE GENERATIVE ART: This is about making LIVING ALGORITHMS, not static images with randomness
  • EXPERT CRAFTSMANSHIP: Repeatedly emphasize the final algorithm must feel meticulously crafted, refined through countless iterations, the product of deep expertise by someone at the absolute top of their field in computational aesthetics

The algorithmic philosophy should be 4-6 paragraphs long. Full of poetic computational philosophy that brings together what you're going for. Avoid repeating the same points. You should output this algorithmic philosophy as a .md file.


DEDUCING THE CONCEPTUAL SEED

CRITICAL STEP: Before implementing the algorithm, identify the subtle conceptual thread from the user's original request.

THE ESSENTIAL PRINCIPLE: The concept is a subtle, niche reference embedded within the algorithm itself - not always literal, always sophisticated. Someone familiar with the subject should feel it intuitively, while others simply experience a masterful generative composition. The algorithmic philosophy provides the computational language. The deduced concept provides the soul - the quiet conceptual DNA woven invisibly into parameters, behaviors, and emergence patterns.

This is VERY IMPORTANT: The reference must be so refined that it enhances the work's depth without announcing itself. Think like a jazz musician quoting another song through algorithmic harmony - only those who know will catch it, but everyone appreciates the generative beauty.


P5.JS IMPLEMENTATION

Now that you have the philosophy AND the conceptual framework, you must express it through code. Take a second to gather your thoughts. Clear your mind. Only use the algorithmic philosophy you created and the instructions below.

⚠️ STEP 0: READ THE TEMPLATE FIRST ⚠️

CRITICAL: BEFORE writing any HTML, you MUST:

  1. Use the Read tool to read templates/viewer.html
  2. Study the exact structure, styling, and Anthropic branding
  3. Use that file as your LITERAL STARTING POINT - not just inspiration
  4. Keep all FIXED sections exactly as shown (header, sidebar structure, Anthropic colors/fonts, seed controls, action buttons)
  5. Replace only the VARIABLE sections marked in the file's comments (algorithm, parameters, UI controls for your parameters)

DO NOT:

  • ❌ Create HTML from scratch
  • ❌ Invent your own styling or color scheme
  • ❌ Use system fonts or dark themes
  • ❌ Change the sidebar structure

DO:

  • ✅ Copy the template's exact HTML structure
  • ✅ Keep Anthropic branding (Poppins/Lora fonts, light colors, gradient backdrop)
  • ✅ Maintain the sidebar layout (Seed → Parameters → Colors? → Actions)
  • ✅ Replace only the p5.js algorithm and parameter controls

The template is your foundation. Build on it, don't rebuild it.


Create your generative art as if it were gallery-quality, using the algorithmic philosophy. This is computational art that lives and breathes.

TECHNICAL REQUIREMENTS

Seeded Randomness (Art Blocks Pattern):

// ALWAYS use a seed for reproducibility
let seed = 12345; // or hash from user input
randomSeed(seed);
noiseSeed(seed);

Parameter Structure - FOLLOW YOUR PHILOSOPHY:

Your parameters should emerge naturally from your algorithmic philosophy.

Ask yourself: "What qualities of this system can be adjusted?"

let params = {
  seed: 12345,  // Always include seed for reproducibility
  colorPalette: ['#d97757', '#6a9bcc', '#788c5d', '#b0aea5'],  // Anthropic colors
  // Add parameters that control YOUR algorithm:
  // - Quantities (how many?)
  // - Scales (how big? how fast?)
  // - Probabilities (how likely?)
  // - Ratios (what proportions?)
  // - Angles (what direction?)
  // - Thresholds (when does behavior change?)
};

Don't think in terms of "pattern types" - think in terms of the properties your system needs to be tunable.

Core Algorithm - EXPRESS YOUR PHILOSOPHY:

CRITICAL: Your algorithmic philosophy should dictate what you build.

Don't think "which pattern should I use?" - think "how do I express this philosophy through code?"

If your philosophy is about organic emergence, you might use:

  • Elements that accumulate or grow over time
  • Random processes constrained by natural rules
  • Feedback loops and interactions

If your philosophy is about mathematical beauty, you might use:

  • Geometric relationships and ratios
  • Trigonometric functions and harmonics
  • Precise calculations creating unexpected patterns

If your philosophy is about controlled chaos, you might use:

  • Random variation within strict boundaries
  • Bifurcation and phase transitions
  • Order emerging from disorder

The algorithm flows from the philosophy, not from a menu of options.

Let the conceptual essence guide your implementation. Be creative. Be original. Build something that expresses YOUR vision for this particular request.

Canvas Setup: Standard p5.js structure:

function setup() {
  createCanvas(1200, 1200);
  // Initialize your system
}

function draw() {
  // Your generative algorithm
  // Can be static (noLoop) or animated
}

CRAFTSMANSHIP REQUIREMENTS

CRITICAL: Make it feel like a master generative artist created this algorithm through countless iterations. Every parameter should feel carefully tuned. Every pattern should emerge with purpose. This is NOT random noise - this is CONTROLLED CHAOS refined through deep expertise.

  • Balance: Complexity without visual noise, order without rigidity
  • Color Harmony: Thoughtful palettes, not random RGB values
  • Composition: Even in randomness, maintain visual hierarchy and flow
  • Performance: Smooth execution, optimized for real-time if animated
  • Reproducibility: Same seed ALWAYS produces identical output

OUTPUT FORMAT

You must output:

  1. Algorithmic Philosophy - As markdown or text explaining your generative aesthetic
  2. Single HTML Artifact - Self-contained interactive generative art built from templates/viewer.html (see STEP 0 and next section)

The HTML artifact contains everything: p5.js (from CDN), your algorithm, parameter controls, and UI - all in one file that works immediately in claude.ai artifacts or any browser. Start from the template file, not from scratch.


INTERACTIVE ARTIFACT CREATION

REMINDER: You should have already read templates/viewer.html (see STEP 0). Use that file as your starting point.

Create a single, self-contained HTML artifact that allows exploration of your generative art. This artifact should work immediately in claude.ai or any browser - no setup required. Everything must be embedded inline.

⚠️ CRITICAL: WHAT'S FIXED VS VARIABLE ⚠️

The templates/viewer.html file is your foundation. It contains the exact structure and styling you need.

FIXED (always include exactly as shown):

  • Layout structure (header, sidebar, main canvas area)
  • Anthropic branding (UI colors, fonts, gradients)
  • Seed section in sidebar:
    • Seed display
    • Previous/Next buttons
    • Random button
    • Jump to seed input + Go button
  • Actions section in sidebar:
    • Regenerate button
    • Reset button
    • Download PNG button

VARIABLE (customize for each artwork):

  • The entire p5.js algorithm (setup/draw/classes)
  • The parameters object (define what YOUR art needs)
  • The Parameters section in sidebar:
    • Number of parameter controls
    • Parameter names
    • Min/max/step values for sliders
    • Control types (sliders, inputs, etc.)
  • Colors section (optional):
    • Some art needs color pickers
    • Some art might use fixed colors
    • Some art might be monochrome (no color controls needed)
    • Decide based on YOUR art's needs

Every artwork should have unique parameters and algorithm! The fixed parts provide consistent UX - everything else expresses your unique vision.

REQUIRED FEATURES

1. Parameter Controls

  • Sliders for numeric parameters (particle count, noise scale, speed, etc.)
  • Color pickers for palette colors
  • Real-time updates when parameters change
  • Reset button to restore defaults

2. Seed Navigation

  • Display current seed number
  • "Previous" and "Next" buttons to cycle through seeds
  • "Random" button for random seed
  • Input field to jump to specific seed
  • Generate 100 variations when requested (seeds 1-100)

3. UI Layout

┌────────────────────────────────────┐
│  [Canvas - p5.js generative art]   │
│                                    │
│                                    │
└────────────────────────────────────┘
┌────────────────────────────────────┐
│ Seed: [123] [Prev] [Next] [Random]│
│                                    │
│ Particle Count: [slider] 5000     │
│ Noise Scale: [slider] 0.01         │
│ Flow Speed: [slider] 0.5           │
│ [Color pickers for palette...]    │
│                                    │
│ [Reset Parameters] [Download PNG] │
└────────────────────────────────────┘

4. Single Artifact Structure

<!DOCTYPE html>
<html>
<head>
  <!-- p5.js from CDN - always available -->
  <script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.7.0/p5.min.js"></script>
  <style>
    /* All styling inline - clean, minimal */
    /* Canvas on top, controls below */
  </style>
</head>
<body>
  <div id="canvas-container"></div>
  <div id="controls">
    <!-- All parameter controls -->
  </div>
  <script>
    // ALL p5.js code inline here
    // Parameter objects, classes, functions
    // setup() and draw()
    // UI handlers
    // Everything self-contained
  </script>
</body>
</html>

CRITICAL: This is a single artifact. No external files, no imports (except p5.js CDN). Everything inline.

5. Implementation Details - BUILD YOUR SIDEBAR

The sidebar structure:

1. Seed (FIXED) - Always include exactly as shown:

  • Seed display
  • Prev/Next/Random/Jump buttons

2. Parameters (VARIABLE) - Create controls for YOUR art:

<div class="control-group">
    <label>Your Parameter Name</label>
    <input type="range" id="yourParam" min="..." max="..." step="..." value="..." oninput="updateParam('yourParam', this.value)">
    <span class="value-display" id="yourParam-value">...</span>
</div>

Add as many control-group divs as you have parameters.

3. Colors (OPTIONAL/VARIABLE) - Include if your art needs adjustable colors:

  • Add color pickers if users should control palette
  • Skip this section if your art uses fixed colors
  • Skip if your art is monochrome

4. Actions (FIXED) - Always include exactly as shown:

  • Regenerate button
  • Reset button
  • Download PNG button

Requirements:

  • Seed controls must work (prev/next/random/jump/display)
  • All YOUR parameters must have UI controls
  • Regenerate, Reset, Download buttons must work
  • Keep Anthropic branding (UI styling, not art colors)

USING THE ARTIFACT

The HTML artifact works immediately:

  1. In claude.ai: Displayed as an interactive artifact - runs instantly
  2. As a file: Save and open in any browser - no server needed
  3. Sharing: Send the HTML file - it's completely self-contained

VARIATIONS & EXPLORATION

The artifact includes seed navigation by default (prev/next/random buttons), allowing users to explore variations without creating multiple files. If the user wants specific variations highlighted:

  • Include seed presets (buttons for "Variation 1: Seed 42", "Variation 2: Seed 127", etc.)
  • Add a "Gallery Mode" that shows thumbnails of multiple seeds side-by-side
  • All within the same single artifact

This is like creating a series of prints from the same plate - the algorithm is consistent, but each seed reveals different facets of its potential. The interactive nature means users discover their own favorites by exploring the seed space.


THE CREATIVE PROCESS

User requestYour algorithmic philosophyYour implementation

Each request is unique. Your job is to:

  1. Interpret the user's intent - What aesthetic are they seeking?
  2. Create an algorithmic philosophy (4-6 paragraphs) describing the computational approach
  3. Implement it in code - Build the algorithm that expresses this philosophy
  4. Design appropriate parameters - What should be tunable?
  5. Build matching UI controls - Sliders/inputs for those parameters

The constants:

  • Anthropic branding (colors, fonts, layout)
  • Seed navigation (always present)
  • Self-contained HTML artifact

Everything else is variable:

  • The algorithm itself
  • The parameters
  • The UI controls
  • The visual outcome

Trust your creativity. Let the philosophy guide the implementation.


RESOURCES

This skill includes helpful templates and documentation:

  • templates/viewer.html: REQUIRED STARTING POINT for all HTML artifacts.

    • YOU MUST READ THIS FILE FIRST using the Read tool (see STEP 0 above)
    • This is your foundation - contains the exact structure and Anthropic branding
    • Keep unchanged: Layout structure, sidebar organization, Anthropic colors/fonts, seed controls, action buttons
    • Replace: The p5.js algorithm (lines 490-730), parameter definitions (line 530), UI controls in Parameters section (lines 418-452)
    • The extensive comments in the file mark exactly what to keep vs replace
  • templates/generator_template.js: Reference for p5.js best practices and code structure principles.

    • Shows how to organize parameters, use seeded randomness, structure classes
    • NOT a pattern menu - use these principles to build YOUR unique algorithm
    • Embed your algorithm inline in the HTML artifact (don't create separate .js files)
  • README.md: Overview documentation explaining the skill structure and concepts.

Critical reminder:

  • The template is your STARTING POINT, not inspiration
  • The algorithm is where you create something unique
  • Don't copy the flow field example - build what your philosophy demands
  • But DO keep the exact UI structure and Anthropic branding from the template

同梱ファイル

※ ZIPに含まれるファイル一覧。`SKILL.md` 本体に加え、参考資料・サンプル・スクリプトが入っている場合があります。