This is a collection of p5.js sketches that I’ve made over the years. It’s a mix of art, prototypes, tools, and experiments. Every sketch has a link to the p5.js editor where you can read and play with the code.
the classic flocking algorithm
some squares with circles in them. also the circles move
a faithful reproduction of one of Karel Marten's Patterns
spinning a line around and seeing what happens
a tiny terrain generator using perlin noise
an experimental visualizer for chess games