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.

bitboard explorer 2023.07.27

a simple tool to explore how bitboards work

boids 2023.01.12

the classic flocking algorithm

connect none 2023.06.07

squares with circles in them. also the circles move

kmp041 2025.07.30

a reproduction of one of Karel Marten's Patterns

packed rectangle flow 2023.07.29

a flow field but with long squares

pencil lines 2022.01.11

the sketchiest lines you'll see on this site

perlin cloud 2023.07.26

are you ready for a mess of colors?

perlin ribbons 2023.07.27

spinning a line around and seeing what happens

perlin terrain test 2023.08.17

a tiny terrain generator using perlin noise

PGN visualizer 2023.07.22

an experimental visualizer for chess games