Back to list
tienbm92

algorithmic-art

by tienbm92

Personal AI context base used for bootstrapping new projects and feature development. Acts as the backbone for architecture, domain rules, and reusable design patterns.

0🍴 0📅 Jan 26, 2026

SKILL.md


name: algorithmic-art description: 'Tạo algorithmic art sử dụng p5.js với seeded randomness và interactive parameter exploration. Sử dụng khi user yêu cầu generative art, algorithmic art, flow fields, particle systems, creative coding. Tạo original algorithmic art.'

Algorithmic Art Skill

Tạo algorithmic philosophies - computational aesthetic movements expressed through code. Output: .md files (philosophy), .html files (interactive viewer), .js files (algorithms).

Khi Nào Sử Dụng

  • Generative art
  • Algorithmic art
  • Flow fields
  • Particle systems
  • Creative coding với p5.js
  • Interactive art pieces
  • Seeded randomness art

Workflow

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

Step 1: Algorithmic Philosophy Creation

The Critical Understanding

Philosophy được interpreted through:

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

How to Generate Algorithmic Philosophy

1. Name the movement (1-2 words):

  • "Crystalline Emergence"
  • "Digital Erosion"
  • "Parametric Dreams"

2. Articulate the philosophy (4-6 paragraphs):

Express computational essence:

  • What mathematical relationships govern the system?
  • How does randomness interact with structure?
  • What emergent behaviors arise?
  • How does time affect the visualization?

Essential Principles

PrincipleDescription
Algorithmic PhilosophyComputational worldview expressed through code
Process Over ProductBeauty emerges from algorithm's execution
Parametric ExpressionIdeas through mathematical relationships
Artistic FreedomRoom for interpretive implementation
Pure Generative ArtLIVING ALGORITHMS, not static images
Expert CraftsmanshipMeticulously crafted, refined through iterations

Step 2: P5.js Implementation

Technical Requirements

Seeded Randomness (Art Blocks Pattern):

let seed = 12345;
randomSeed(seed);
noiseSeed(seed);

Parameter Structure:

let params = {
  seed: 12345,
  colorPalette: ['#d97757', '#6a9bcc', '#788c5d'],
  // Add parameters based on YOUR algorithm:
  // - Quantities (how many?)
  // - Scales (how big? how fast?)
  // - Probabilities (how likely?)
  // - Ratios (what proportions?)
  // - Angles (what direction?)
};

Craftsmanship Requirements

CRITICAL: Gallery-quality computational art

  • Balance: Complexity without visual noise
  • Color Harmony: Thoughtful palettes, not random RGB
  • Composition: Visual hierarchy even in randomness
  • Performance: Smooth, optimized execution
  • Reproducibility: Same seed = identical output

Algorithm Guidance

PhilosophyConsider Using
Organic emergenceElements accumulate/grow, natural rules, feedback loops
Mathematical beautyGeometric relationships, trigonometric functions, ratios
Controlled chaosRandom variation within boundaries, order from disorder

Step 3: Interactive Artifact

Required Features

1. Seed Navigation (FIXED):

  • Seed display
  • Previous/Next buttons
  • Random button
  • Jump to seed input

2. Parameter Controls (VARIABLE):

  • Sliders cho numeric parameters
  • Color pickers cho palette
  • Real-time updates
  • Reset button

3. Actions (FIXED):

  • Regenerate button
  • Reset button
  • Download PNG button

HTML Structure

<!DOCTYPE html>
<html>
<head>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.7.0/p5.min.js"></script>
</head>
<body>
  <div id="canvas-container"></div>
  <div id="controls">
    <!-- Seed controls -->
    <!-- Parameter controls -->
    <!-- Action buttons -->
  </div>
  <script>
    // ALL p5.js code inline
  </script>
</body>
</html>

CRITICAL: Single artifact. No external files (except p5.js CDN).


Code Patterns

Seeded Random

function initializeSeed(seed) {
  randomSeed(seed);
  noiseSeed(seed);
}

Color Utilities

function colorFromPalette(index) {
  return params.colorPalette[index % params.colorPalette.length];
}

Parameter Updates

function updateParameter(paramName, value) {
  params[paramName] = value;
  regenerate();
}

Output Format

  1. Algorithmic Philosophy - Markdown explaining generative aesthetic
  2. Single HTML Artifact - Self-contained interactive generative art

Quick Reference

ElementTypeDescription
Seed controlsFixedAlways include
ParametersVariableBased on algorithm
ActionsFixedRegenerate, Reset, Download
AlgorithmVariableExpress philosophy

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

Score

Total Score

70/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon