Stick-figure canvas animation, motion accessibility, agent skills

12 steps · about 4 h 10 min · Intermediate

  1. Canvas API - Web APIs (tutorial, MDN Web Docs, 20 min)

    Start with the canvas element and 2D drawing basics, which is the surface stick-scene draws on.

  2. Drawing graphics - Learn web development (tutorial, MDN Web Docs, 40 min)

    A hands-on lesson that takes you from drawing shapes to animation loops with requestAnimationFrame.

  3. Performant Game Loops in JavaScript (article, Aleksandr Hovhannisyan, 25 min)

    Explains why requestAnimationFrame drives smooth animation and how to keep timing steady.

  4. Advanced animations - Canvas API - MDN Web Docs (tutorial, MDN Web Docs, 25 min)

    Adds velocity, clearing frames and user interaction to your first animation loop.

  5. Simple Inverse Kinematics (article, Dave Pagurek, 25 min)

    Shows how a jointed limb is built by stacking rotations in code, which is how a stick figure's arms and legs move.

  6. Inverse kinematics (reference, Wikipedia, 15 min)

    Gives the vocabulary for forward kinematics (joint angles to pose) versus inverse kinematics (pose to joint angles).

  7. prefers-reduced-motion: Sometimes less movement is more (article, web.dev, 15 min)

    Explains why animations need a reduced-motion fallback, such as the single still frame stick-scene shows.

  8. prefers-reduced-motion CSS media feature - MDN Web Docs (doc, MDN Web Docs, 10 min)

    The reference for detecting the user's motion preference and the OS settings behind it.

  9. Specification - Agent Skills (doc, agentskills.io, 20 min)

    Covers the SKILL.md format that lets a coding agent load instructions like the stick-scene skill.

  10. Agent Skills - Claude Platform Docs (doc, Anthropic, 20 min)

    Shows how an agent discovers a skill and loads it only when a task matches.

  11. GitHub - nilbuild/stick-scene: Skill to draw stick figure animated visuals (repo, nilbuild on GitHub, 30 min)

    Read the real project, a dependency-free canvas runtime packaged as an agent skill, now that you know each part.

  12. stick-scene: turn one line into a hand-drawn scene (article, Kamran Ahmed, 5 min)

    The author's page shows the finished result and the one-line install, so you can try it yourself.