During Constructing Modern Knowledge 23, I explored the patterns of the hotel carpet in the Expo Center using TurtleArt. We used three different rooms and a hallway that have three different carpet patterns.
The key to this project, in my mind, was finding the algorithm, or the design that expresses over time, and using that to generate the digital patterns.
As I started working on the first carpet I recognized that a large part of the designs would be trying to capture the varied textures in each carpet.
The photo below does not do it justice but this gray carpet has a checkerboard pattern, with one of the squares being a different shade than the other.
I used Box1 to store either 0 or 1 and depending on the coin flip, the pen randomizes its width and moves forward 4, or raises its pen and moves forward 4. In that way the piece generates a pattern that is different each time and which approximates the carpet's varied texture.