#genuary2026, day 27:
Lifeform. A shape or structure that behaves as if it’s alive or growing.
made with #p5js
#genuary2026, day 27:
Lifeform. A shape or structure that behaves as if it’s alive or growing.
made with #p5js
#genuary2026, day 27:
Lifeform. A shape or structure that behaves as if it’s alive or growing.
made with #p5js
#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.
🐜🐜🐜🐜🐜🐜🐜🐜
#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!
#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.
🐜🐜🐜🐜🐜🐜🐜🐜