@blinry@chaos.social
#Genuary Day 26: "Recursive Grids. Split the canvas into a grid of some kind and recurse on each cell again and again."
Learned about rep-tiles today – shapes that can be tiled with smaller versions of themselves!
So here's a recursive L-shape. Depending on how you shade them, you get some nice fractals!
#genuary2026 #genuary26 #p5js
@blinry@chaos.social
#Genuary Day 27: "Lifeform"
Wrote a little swarm algorithm! It works like this:
1. Walk in a random direction.
2. Follow another bug if it's:
- in front of you
- not too far away
- moving away from you
3. Avoid the walls.
🐜
🐜
🐜
🐜
🐜
🐜
🐜
🐜![]()
#genuary2026 #genuary27 #p5js