This project began with the idea to build a square grid of n x n nails. Then a thread could be weaved between the nails. The thread is a continuous one, without breaks, and you can change the color in a palette of 5 by clicking or touching the screen.
The initial idea was to weave yourself interactively, then I thought an algorithm could be responsible of that. In the final version you can weave yourself in addition to the generated pattern anyways.