Due to popular demand I have made the code available on Github. You can find it here: github.com/hooyah/nailedit Keep in mind it is highly experimental. Njoy.
I love this. Using a machine and software in ways that they were not normally intended to be used to get a result that is spectacular. Cheers, Mark Presling Qld Australia
When the vid started I thought I COULD DO THIS with my hands! Hmm fast forward, nah its so properly advanced. Am very impressed man. This is beautiful!
@@erikcederb That only sounds like a good idea. You don't get the spacing as tight, besides it would take ages since you need to clear every nail in Z since they are not flush. @fhuable On that note, make the holes slightly larger so they fall in and use a runny glue/epoxy to lock them in place. (Maybe you could get away with spray paint) Should be way friendlier to your fingers ;-D
@@DerSolinski As long as you start from one side and work towards the other in rows, and use a finishing nailer with a fine tip (wich will set your minimum spacing), the clearance will not be as much of a issue and you don't have to lift the gun more than you need to be clear of the just placed one.
That would be great. I think I get the gist of the image processing to create the nail positions, but the most interesting part for me would be how you came up with the G-code for the string winding.
Wow I really love this. I wonder if there's an easier way of adding the nails. I'm thinking... I think if that could be sorted out I'd have a go at this. :) Excellent work by the way.
Hola. La verdad que te felicito por el hermoso trabajo que hiciste. Me gustaría saber que modelo de máquina CNC es para realizar este trabajo. Saludos grande desde Argentina
Got it up and running more or less. But i have one question. Right now it uses a white thread to fill out the white in the image. What if i want white background and black thread filling out the black in the image. I assume i should change the "backgroundColor":0, and threadColor":(255, 160,), to something else. But if i change to anythin that makes sense it eather dont work or only gives me a red background... I would love a simple guide on how to change the colors :-)
Ultimately, the alghorithm is color blind. It just tries to maximize the best next connection, currently using the 'brighness' of the thread as an idicator. If you want black thread on white bg you could just invert the image you're feeding it. Alternatively, I vagely remember an option to invert the colors in the code/json config.
On one hand it's exciting because code was used on the other, I feel 😔 discouraged, I wanted to get into string art and seing a machine do it made me wonder if it was worth it
this is very interesting, have you already worked out the details? and then if you look at him, then he is a little confused in measurements, in terms of there is neither the clarity of the eyes, nor the cheekbones .. Absolutely amazing work, well done! 👍 you deserve respect
This is so cool and amazing!!! It's just a brain blast! Man, you are just a genius! I am in awe of your work. Please, if it's not difficult for you, tell us: 1. Suppose I already have this "scratch built DIY CNC router - Bob", how can I then use your code, which is on github? 2. And let's say that I don't have the "Bob") Where can I buy it and how can I make it work the same as yours?) 3. Do you sell it by any chance?))) 4. To be honest, I would love to even buy a detailed tutorial or advice from you on how to assemble and do this myself! P.s. It just inspired me so much that I can't think of anything else :D:D:D
... Thx god you didn't string it by hand, I was worried there a sec since you nailed it manual xD. But you should use a thinner mono filament yarn next time, maybe around dtex 50? I hope you do a follow up with a improved concept.
Yes, honestly, I couldn't find thinner yarn. Even looked at specialty super thin fishing lines but they were hard to get here. Not what I am usually shopping for ;)
@@fhuable where do you live? Depending on that I might be able to send you a cone of waste material... I dunno, that cone will probably last for the rest of your life 🤣
Yeah, it's not fast. It's doing a lot of image processing. 5h sounds excessive though. A lot of things influence how long it takes to calculate and many can be adjusted in the code. Image size, number of nails, "good-enough" thresholds, etc.
Check out 0:55 and 1:21 - looks like he scatters a mesh of points as an initial guess, then basically tries drawing what it would look like, doing a comparison of that drawing to a reference image, making a tweak, checking the tweaked comparison to the prior one, choosing which one is better, and repeating until... done. Granted, there are some details missing... like whether (and how) nail points are moved, or just choosing which strings to draw, and what's possible on that front, etc... but... there's some info, at least. Perhaps we'll get more details? :)
Awesome! How do you prevent the nozzle from getting stuck behind the other wires while wiring? Does it move up over it, and then push it down slightly?
Good point. This has been a target for several experiments. In the end I do everything I can to avoid too much crossing of threads. That's where most of the thickness comes from. I also do lift the nozzle during the moves and keep track of how many times I have used a nail and adapt the target height accordingly. Last but not least the shape of the nozzle goes a long way to gently push thread out of the way. Can't go too fast for this to work though, so it's a last resort.
I think the nails are just scattered based on the luminance of the input image. There might have been some edge enhancement preprocess involved as well.
If I remember this right it's doing a Delaunay triangulation and using the mesh for connectivity. But I don't think neighbors are important past the step where I relax the point cloud in the beginning
That's cool. I didn't know if you were just making the image lines and then programing a cam path in a different program. I just recently added a pen/servo attachment to my laser cutter and wrote a hatching style processing program to convert images into lines. Also, I happened to convert an old mechanical pencil into a makeshift wire wrapping pencil. I randomly had the idea of combining the two to make art and then I remembered that you already did that!
@@angst_ Just because something has been done before doesn't mean you can't do it better - why not give it a shot. To be honest, I have been eyeing my laser cutter as a potential platform for much larger string art myself :)
please please can you make an in-depth tutorial for string art--- like what software to use and how-to exhibit this on board. Sorry for my English, I am a complete beginner but I can't find any detailed video on youtube. Just subbed🤗
Thanks. Yeah, I quickly turned that nozzle on my lathe from aluminium stock. And I found the brass tube in my off-cut bin. 1/4 inch fit perfectly in my collet (lucky accident)
Hello,does anyone know any program to convert a photo into a DIY so I can make it by my self (handmade) step by step?I want to make a special present for my family.
Hi Florian, Sehr Kreativ. Und ich hatte mich schon im Vorfeld gefragt, woher die "Fädelmaschine" weiß wo die Nägel sind. Jetzt weiß ich das👍Liebe Grüße von der anderen Seite der Welt.
The nozzle lifts during the course of the toolpath. The shape of the tip also helps to push thread out of the way. But yes, it can become an issue when the thread gets really dense in certain regions.
@@fhuable Hi friend) can you share the code? very interesting to see the work algorithms, thank you in advance !!! Good luck to you) mansurhak@gmail.com
Due to popular demand I have made the code available on Github. You can find it here: github.com/hooyah/nailedit
Keep in mind it is highly experimental. Njoy.
Can a detailed explanation of the operating method be made?
@@mohammedalbinalsheikh5708 Yes! Please!!
Can you utilize this code for Python 3? Is there a way to translate from version 2 to 3?
I love this. Using a machine and software in ways that they were not normally intended to be used to get a result that is spectacular.
Cheers,
Mark Presling Qld Australia
This is great! Thanks for sharing this with the world!
This just made my day! This kind of creativity gives me hope for this world. Can't wait to see what you come up with next.
Amazing. 11/10 for ingenuity and execution.
When the vid started I thought I COULD DO THIS with my hands! Hmm fast forward, nah its so properly advanced. Am very impressed man. This is beautiful!
Hahaha same vro.
Best project I saw for a while 😍 Congratulation.
Awesome use of programming and cnc machines to make beautiful physical art.
really nice work
I love the video work and the art you created with the string! This is awesome!
Super amazing 👍
So amazed by this channel
What a great and clever job done in python ! Congrats
it is so Verrrrry cool
amazing work man
As genius as usual Florian!
dude this is super cool, i also like your dremel cnc.
Holy shit man, that's soo cool. You clearly put a lot of effort into this, wonder if you could sell them.
The workflow is a bit labour-intensive at moment. (My fingers still hurt from pressing 1000 nails into the board ;)
@@fhuable Mount a nail gun to your CNC router, and you should be able to do this without hurting your fingers. :-)
@@erikcederb That only sounds like a good idea.
You don't get the spacing as tight, besides it would take ages since you need to clear every nail in Z since they are not flush.
@fhuable On that note, make the holes slightly larger so they fall in and use a runny glue/epoxy to lock them in place. (Maybe you could get away with spray paint)
Should be way friendlier to your fingers ;-D
@@DerSolinski As long as you start from one side and work towards the other in rows, and use a finishing nailer with a fine tip (wich will set your minimum spacing), the clearance will not be as much of a issue and you don't have to lift the gun more than you need to be clear of the just placed one.
@@fhuable If you think that's labour-intensive, try pulling the string through by hand as well...
Nice work.
OMG, it's sooo cool!
If this is your "first test" -- I say it is better than Djoker getting a grand slam!
I was going to ask you --- do we start with a set of stippling points? if not, could we? or should we?
Everything starts with where the nails have to go, yeah. Is that what you're asking?
@@fhuable Yes, I am asking how you determine where the nails go and if there is an algorithm for it.
@@paraparasolian6484 see video around 1:00 as well as my pinned comment for the code
Superb!
Great! Very cool project ;)
Wow - that is awesome. You just need to make a pick and place, so the CNC can install the nails, and you are all set. Very impressive work!
Also, if you did share the code/process - I would love to give it a shot!
I'm a bit busy at moment but will share more info later
That would be great. I think I get the gist of the image processing to create the nail positions, but the most interesting part for me would be how you came up with the G-code for the string winding.
@fhuable
Where I can get this type of super coll robot?
It needs a plexi case over it . . . I can see it in a year, covered in cobwebs; you made the spiders very happy :o)
I was thinking the same thing. Thought it would collect a lot of dust but it's not so bad.
Wow I really love this. I wonder if there's an easier way of adding the nails. I'm thinking... I think if that could be sorted out I'd have a go at this. :)
Excellent work by the way.
Absolutely. The nails should be placed by the CNC as well.
Can you 3d print the nails as posts? Would they be strong enough?
come over from wintergatan... awesome work there! subscribed! :)
Welcome. Martin's making good progress now. Can't wait to see him playing a song on the MMX :D
Please give more detailed instructions on creating gcode. Thank you
GENIUS
Hola. La verdad que te felicito por el hermoso trabajo que hiciste. Me gustaría saber que modelo de máquina CNC es para realizar este trabajo. Saludos grande desde Argentina
Got it up and running more or less. But i have one question. Right now it uses a white thread to fill out the white in the image. What if i want white background and black thread filling out the black in the image. I assume i should change the "backgroundColor":0, and threadColor":(255, 160,), to something else. But if i change to anythin that makes sense it eather dont work or only gives me a red background... I would love a simple guide on how to change the colors :-)
Ultimately, the alghorithm is color blind. It just tries to maximize the best next connection, currently using the 'brighness' of the thread as an idicator. If you want black thread on white bg you could just invert the image you're feeding it. Alternatively, I vagely remember an option to invert the colors in the code/json config.
amazing!
Interesting where you got that 'blunt needle' bit for the router ?
On one hand it's exciting because code was used on the other, I feel 😔 discouraged, I wanted to get into string art and seing a machine do it made me wonder if it was worth it
You're fucking genius man
this is very interesting, have you already worked out the details? and then if you look at him, then he is a little confused in measurements, in terms of there is neither the clarity of the eyes, nor the cheekbones ..
Absolutely amazing work, well done! 👍 you deserve respect
but I'm judging the picture of Einstein)
This is so cool and amazing!!! It's just a brain blast! Man, you are just a genius! I am in awe of your work.
Please, if it's not difficult for you, tell us:
1. Suppose I already have this "scratch built DIY CNC router - Bob", how can I then use your code, which is on github?
2. And let's say that I don't have the "Bob") Where can I buy it and how can I make it work the same as yours?)
3. Do you sell it by any chance?)))
4. To be honest, I would love to even buy a detailed tutorial or advice from you on how to assemble and do this myself!
P.s.
It just inspired me so much that I can't think of anything else :D:D:D
Hello 👋🏻 please tell me where you can buy such a device?
YES! Please tell us. We are very, very, very, very interested and grateful.
very cool
Bravo
hey guys, i can voluntarily build the cnc mechanic and share here with you. who can help by implementing the software?
Thats Awesome! I'd like to build this... After I finish my BarBot ;)
Fantastico!!
Amazing!!! I would like to know more about, has the printer been adapted?
Please give more detailed instructions. please
You should make a little dam around the edges and add a layer of resin. Then pull all of the nails out.
That's a cool idea!
Como faço essa matemática de detalhes?
You can find the code on github.
Nice work bro. Ur cnc machine is also nice. Which one u use for it
Wow!
What is the name of this program please?
... Thx god you didn't string it by hand, I was worried there a sec since you nailed it manual xD.
But you should use a thinner mono filament yarn next time, maybe around dtex 50?
I hope you do a follow up with a improved concept.
Yes, honestly, I couldn't find thinner yarn. Even looked at specialty super thin fishing lines but they were hard to get here. Not what I am usually shopping for ;)
@@fhuable where do you live?
Depending on that I might be able to send you a cone of waste material...
I dunno, that cone will probably last for the rest of your life 🤣
How can I upload different photos to the software?
you can change it in the json file, or the code
hi thank you for this excellent job
i use your code but its very slow
i mean its make one json file in 5 hours
its normal or something is wrong ?
Yeah, it's not fast. It's doing a lot of image processing. 5h sounds excessive though. A lot of things influence how long it takes to calculate and many can be adjusted in the code. Image size, number of nails, "good-enough" thresholds, etc.
Amazing! Are you selling too?
wow
i cant use github codes. can you help me? i want to make my own photos string art.
YES! Please tell us. We are very, very, very, very interested and grateful.
software for cogigo G?
hello wonderful video, do you want to know what programs you use to do all the various steps?
This is amazing! Will you make the code etc. open source?
Possibly, at some point. Right now it's more of a research project (read: unbelievably messy)
Nice work. How did you calculate the nail positioning?
Check out 0:55 and 1:21 - looks like he scatters a mesh of points as an initial guess, then basically tries drawing what it would look like, doing a comparison of that drawing to a reference image, making a tweak, checking the tweaked comparison to the prior one, choosing which one is better, and repeating until... done. Granted, there are some details missing... like whether (and how) nail points are moved, or just choosing which strings to draw, and what's possible on that front, etc... but... there's some info, at least. Perhaps we'll get more details? :)
I m doing that job with tsp formula (travelling salesman problem) but it's taking too much time :(
yo bro this wak could this be used in any cnc machine if i mount the piece correclty
I don't see why not
couldnt get the code running deep tutorial would be perfect
YES! Please tell us. We are very, very, very, very interested and grateful.
What is this machine🤔
Awesome! How do you prevent the nozzle from getting stuck behind the other wires while wiring? Does it move up over it, and then push it down slightly?
Good point. This has been a target for several experiments. In the end I do everything I can to avoid too much crossing of threads. That's where most of the thickness comes from. I also do lift the nozzle during the moves and keep track of how many times I have used a nail and adapt the target height accordingly. Last but not least the shape of the nozzle goes a long way to gently push thread out of the way. Can't go too fast for this to work though, so it's a last resort.
how much is this machine ?
Where can I buy ?
YES! Please tell us. We are very, very, very, very interested and grateful.
Did you code the algorithm that calculates where to put the nails and the string rout or you found It? Can you please share the code? Great vídeo btw
I think the nails are just scattered based on the luminance of the input image. There might have been some edge enhancement preprocess involved as well.
Wow, you’re out of control
Beyond CNC
What's the name of machine?
It's my scratch built DIY CNC router, I call it Bob ;)
Woww😍
Amazing ! Could the machine make a photo with diferentes strings colors ?
I guess it could. The algorithm would get a lot more complicated though.
Hi Florian,
Nice project! Thanks for the pseudo code. How do you look up the neighbor nails? Within a search radius?
If I remember this right it's doing a Delaunay triangulation and using the mesh for connectivity. But I don't think neighbors are important past the step where I relax the point cloud in the beginning
Did you use a cam program to make the paths that threads the strings without hitting the nails?
My code is creating the tool paths. So technically yes, I'm using a cam program ;)
That's cool. I didn't know if you were just making the image lines and then programing a cam path in a different program. I just recently added a pen/servo attachment to my laser cutter and wrote a hatching style processing program to convert images into lines. Also, I happened to convert an old mechanical pencil into a makeshift wire wrapping pencil. I randomly had the idea of combining the two to make art and then I remembered that you already did that!
@@angst_ Just because something has been done before doesn't mean you can't do it better - why not give it a shot. To be honest, I have been eyeing my laser cutter as a potential platform for much larger string art myself :)
@@fhuable Oh of course I'll still try!
WoW
WOWWWW WOWWWW WOWWWW only WOWWWWWW
please please can you make an in-depth tutorial for string art--- like what software to use and how-to exhibit this on board. Sorry for my English, I am a complete beginner but I can't find any detailed video on youtube. Just subbed🤗
I thought I did just that :)
Самое сложное - гвоздики х)
What’s the software ?
YES! Please tell us. We are very, very, very, very interested and grateful.
What the program works at 1:17?
a python script I wrote
@@fhuable Hi can you share the code ?
I am highly interested as well :)
thats great man good job . i wonder if you could share the source codes :)
From where did you source the tip/nozzle? did you custom made it?
Awesome work BTW!
Thanks. Yeah, I quickly turned that nozzle on my lathe from aluminium stock. And I found the brass tube in my off-cut bin. 1/4 inch fit perfectly in my collet (lucky accident)
@@fhuable thanks, and cool animation at the beginning as well!
fhuable hi, how did you create that animation ?
I am completely interested in purchasing this machine. What is the possibility?
I am just using my CNC router. You do not want to buy that ;)
Super cool! Too bad you had to put in the nails manually tho, you know what you need to do to complete this project ;-)
Yeah, I already designed a "nail gun" thing for the CNC, but got distracted :)
Really? Hope we get to see it in some future video!
Hello,does anyone know any program to convert a photo into a DIY so I can make it by my self (handmade) step by step?I want to make a special present for my family.
It's really cool!
Could you please tell me what the machine are you using for threading?
Hi Florian,
Sehr Kreativ. Und ich hatte mich schon im Vorfeld gefragt, woher die "Fädelmaschine" weiß wo die Nägel sind. Jetzt weiß ich das👍Liebe Grüße von der anderen Seite der Welt.
really nice work! How did you prevent the string nozzle from colliding with already wound string?
The nozzle lifts during the course of the toolpath. The shape of the tip also helps to push thread out of the way. But yes, it can become an issue when the thread gets really dense in certain regions.
Hello can u just help me for buying something like this is there anywhere availble to get this can u just reply please i need it so much 🙏🏻
I believe there are a few people on Etsy that sell customized string art portraits if that's what you're after.
fhuable thank you sir
Very nice "work", thanks for sharing!
Just curious, how come You ran the "string script" under windows ?
Best regards.
Either via the native run time or the linux sub system...
Windows got a lot better these days with that stuff, its not witchcraft anymore.
Hi! It's amazing 😍
Is it possible to know the software and the code?
Which type of CNC machine do you use?
Thank you 8n advance!
@fhuable Hi! Can you share souce code?
what is the use pointcloud here?
aww! i don't know how to do it
how did u do that
I think this is amazing. Even though not having a CNC I can't use your code I'd still love to have a look at it. Would you mind putting it on GitHub?
Will do. Just need to find some time
@@fhuable Hi friend) can you share the code? very interesting to see the work algorithms, thank you in advance !!! Good luck to you) mansurhak@gmail.com
@@fhuable very good work
Can you share code or send it to my email i will be Very grateful❤️
Have you had a chance to add the scripts to Github? I'm sure a lot of people would be very appreciative. Thanks in advance
how much for one drawing art
I can do that.
Not
Robots destroy the beauty of the craft, sorry, i'll buy the handcrafted one with little defects that make it unique and beautiful.
Thanks for telling us what you don't like
What the software is at the begining?