A project for a BWINF Wintercamp.
A nice implementation of this project which also solves it for each color and merges the result is here
As seen in this video this project gives a framework to convert images to a series of threading operations that result in a (hopefully) beautiful artwork.
Also have a look at this repo where you can find different implementations as well as instructions how to actually build such a device.
Have a look at Aufgaben.md
For converting from img to threads you will need
pillow
numpy
For NixOS use: nix-shell -p python311Packages.pillow python311Packages.numpy
(for python 3.11)