December 2020
One of my very first sketches — a pendulum, a canvas, and me figuring it out.
A tiny p5.js sketch that draws a pendulum on an HTML canvas — a line from the pivot down to a ball. One of my earliest creative-coding experiments, revived so it runs and can be shown again.
This is about as early as my creative coding gets: a page shell, one script, and a pendulum drawn at a fixed angle on the canvas. No build step, no dependencies to install — just p5.js from a CDN and a few lines of JavaScript.
It doesn't swing, and that's part of the charm. It's a snapshot of me learning what a canvas even was, kept exactly as it was written.