Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Use p5.js/canvas for local procedural character effects: particles, weather, squash/stretch, walk cycles, and environmental motion.
.claude/skills/video-production-buddy-canvas-procedural-animation/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-03 | ✗→✓ | ▲ Improved | -30% | 0% |
| case-09 | ✗→✓ | ▲ Improved | -37% | 0% |
| case-11 | ✗→✓ | ▲ Improved | -22% | 0% |
| case-16 | ✗→✓ | ▲ Improved | 19% | 0% |
| case-07 | ✓→✗ | ▼ Worse | -28% | 0% |
Use this skill when p5.js or Canvas is used for character-supporting motion: rain, snow, leaves, feathers, ambient particles, squash/stretch, or procedural walk cycles.
p5.js runs setup once and redraws continuously through draw(). Keep animation state deterministic from time/frame values when rendering previews.
jsfunction setup() { createCanvas(1920, 1080); } function draw() { const t = millis() / 1000; clear(); drawCharacter(width / 2, height / 2 + sin(t * 8) * 8); }
frame-index control.
setup() reference: https://p5js.org/reference/p5/setup/draw() reference: https://p5js.org/reference/p5/draw/Other measured skills in the registry, with their headline benchmark lift.