3 ms·
I did something like this myself: https://github.com/danielvarga/string-art https://github.com/danielvarga/string-art My algorithm uses a bit fancier math: I
by skinner_ 10y ago
I did something like this myself:
https://github.com/danielvarga/string-art https://github.com/danielvarga/string-art
My algorithm uses a bit fancier math: I reformulate the approximation problem as a sparse least squares problem over positive integers, solve the relaxation, and truncate and quantize the solution. It works quite well in practice, check out the images.