· @xpil
606 followers · 4864 posts · Server fosstodon.org

In March 2021 I was obsessed with Langton's Ant experiments, but eventually after generating thousands of images of various walks I got bored.

This morning, I came up with an idea: how about adding primality check to the algorithm? For example if the current step number is a prime number, reverse walk direction.

Result?

More irregular, more interesting walk paths!

#ants #langtonAnt #pseudorandom #generatedArt #isuckathashtags

Last updated 3 years ago