aboylabs/ai-agent-skills / skills/creative/p5js
p5js
Unverifiedp5.js sketches: gen art, shaders, interactive, 3D.
| File | Kind | Size |
|---|---|---|
| README.md | markdown | 3.2 KB |
| SKILL.md | skill md | 27.0 KB |
| references/animation.md | markdown | 10.2 KB |
| references/color-systems.md | markdown | 8.4 KB |
| references/core-api.md | markdown | 9.6 KB |
| references/export-pipeline.md | markdown | 15.2 KB |
| references/interaction.md | markdown | 8.1 KB |
| references/shapes-and-geometry.md | markdown | 7.0 KB |
| references/troubleshooting.md | markdown | 12.7 KB |
| references/typography.md | markdown | 6.6 KB |
| references/visual-effects.md | markdown | 22.9 KB |
| references/webgl-and-3d.md | markdown | 8.7 KB |
| scripts/export-frames.jsexecutable | script | 5.3 KB |
| scripts/render.shexecutable | script | 2.8 KB |
| scripts/serve.shexecutable | script | 833 B |
| scripts/setup.shexecutable | script | 2.4 KB |
| templates/viewer.html | other | 10.6 KB |
scripts/serve.sh
View on GitHub#!/bin/bash
# p5.js Skill — Local Development Server
# Serves the current directory over HTTP for loading local assets (fonts, images)
#
# Usage:
# bash scripts/serve.sh [port] [directory]
#
# Examples:
# bash scripts/serve.sh # serve CWD on port 8080
# bash scripts/serve.sh 3000 # serve CWD on port 3000
# bash scripts/serve.sh 8080 ./my-project # serve specific directory
PORT="${1:-8080}"
DIR="${2:-.}"
echo "=== p5.js Dev Server ==="
echo "Serving: $(cd "$DIR" && pwd)"
echo "URL: http://localhost:$PORT"
echo "Press Ctrl+C to stop"
echo ""
cd "$DIR" && python3 -m http.server "$PORT" 2>/dev/null || {
echo "Python3 not found. Trying Node.js..."
npx serve -l "$PORT" "$DIR" 2>/dev/null || {
echo "Error: Need python3 or npx (Node.js) for local server"
exit 1
}
}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |