skills/algorithmic_art/SKILL.md
--- name: algorithmic_art router_kit: FullStackKit description: p5.js ile generative art, flow fields ve interactive visuals oluşturma rehberi. metadata: skillport: category: design tags: [algorithmic art, architecture, automation, best practices, clean code, coding, collaboration, compliance, debugging, design patterns, development, documentation, efficiency, git, optimization, productivity, programming, project management, quality assurance, refactoring, software engineering, standar
npx skillsauth add vuralserhat86/antigravity-agentic-skills skills/algorithmic_artInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
p5.js ile generative art rehberi.
function setup() {
createCanvas(800, 600);
background(20);
}
function draw() {
// Animation loop
}
// Çizgi
line(x1, y1, x2, y2);
// Dikdörtgen
rect(x, y, width, height);
// Elips
ellipse(x, y, width, height);
// Nokta
point(x, y);
// Renkler
fill(r, g, b, alpha);
stroke(r, g, b);
noFill();
noStroke();
let flowField = [];
let cols, rows;
let scale = 20;
function setup() {
createCanvas(800, 600);
cols = floor(width / scale);
rows = floor(height / scale);
// Create flow field
for (let y = 0; y < rows; y++) {
for (let x = 0; x < cols; x++) {
let angle = noise(x * 0.1, y * 0.1) * TWO_PI;
flowField.push(p5.Vector.fromAngle(angle));
}
}
}
class Particle {
constructor() {
this.pos = createVector(random(width), random(height));
this.vel = createVector(0, 0);
this.acc = createVector(0, 0);
}
update() {
this.vel.add(this.acc);
this.vel.limit(4);
this.pos.add(this.vel);
this.acc.mult(0);
}
show() {
point(this.pos.x, this.pos.y);
}
}
// Reproducible randomness
randomSeed(42);
noiseSeed(42);
// Perlin noise
let n = noise(x, y);
// Random range
let r = random(0, 100);
function mouseMoved() {
// Mouse position: mouseX, mouseY
}
function mousePressed() {
// Click handler
}
function keyPressed() {
if (key === 's') {
saveCanvas('artwork', 'png');
}
}
// Press 'S' to save high-res
function keyPressed() {
if (key === 's') {
pixelDensity(4); // 4x resolution for print
saveCanvas('artwork_' + frameCount, 'png');
pixelDensity(1); // Reset for performance
}
}
For pixel-level manipulation, use GLSL shaders in WEBGL mode instead of pixels[] array for 100x speedup.
Algorithmic Art v1.1 - Enhanced
Kaynak: Generative Design Process
draw() loop).random() inside controlled bounds.noise() for natural flow.scale, speed, density.randomSeed() values.| Aşama | Doğrulama | |-------|-----------| | 1 | Konsept ve kısıtlamalar net | | 2 | Temel döngü hatasız çalışıyor | | 3 | Çıktı her çalıştırıldığında varyasyon gösteriyor | | 4 | Performans stabil (>30 FPS) |
tools
Production-tested setup for Zustand state management in React. Includes patterns for persistence, devtools, and TypeScript patterns. Prevents hydration mismatches and render loops.
development
Comprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, data analysis, and visualization. When Claude needs to work with spreadsheets (.xlsx, .xlsm, .csv, .tsv, etc) for: (1) Creating new spreadsheets with formulas and formatting, (2) Reading or analyzing data, (3) Modify existing spreadsheets while preserving formulas, (4) Data analysis and visualization in spreadsheets, or (5) Recalculating formulas
development
--- name: websocket_engineer router_kit: FullStackKit description: WebSocket specialist for real-time communication systems. Invoke for Socket.IO, WebSocket servers, bidirectional messaging, presence systems. Keywords: WebSocket, Socket.IO, real-time, pub/sub, Redis. triggers: - WebSocket - Socket.IO - real-time communication - bidirectional messaging - pub/sub - server push - live updates - chat systems - presence tracking role: specialist scope: implementation output-format:
tools
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.