KeiruaProd

I help my clients acquire new users and make more money with their web businesses. I have ten years of experience with SaaS projects. If that’s something you need help with, we should get in touch!
< Back to article list

String art with tool and code

So I came across this cool piece of code/physical object recently. It’s a frame holding a picture made from strings. The gallery shows the end result, as well as the build process.

The author shared the code used to generate the ordering of the nails to draw the lines. And a viz too.

Not sure if making creepy portraits is my jam, but I like the mix of using code to make a physical object.

It turns out there are many ways to build such lines. In another youtube video, Virtually Passed attempted to use the matrix pseudo inverse to solve the equations’ system, then went for a greedy algorithm like above. At the beginning of the video, it shows a nice machine to plot the image directly too.

Another solution seem to be FFT, and comments often mentionned CAT scans and radon transform, which is something I don’t know anything about.