This is a collection of p5.js sketches that I’ve made over the years. It’s mostly experiments and tools but you’ll also find some doodles and perhaps even a drawing or two. Every sketch has a link to the p5.js editor where you can read and play with the code.
a simple tool to explore how bitboards work
the classic flocking algorithm
squares with circles in them. also the circles move
a reproduction of one of Karel Marten's Patterns
a flow field but with long squares
the sketchiest lines you'll see on this site
are you ready for a mess of colors?
spinning a line around and seeing what happens
a tiny terrain generator using perlin noise
an experimental visualizer for chess games