I've been dabbling in computer generated string art lately so here's my first test. What do you think?
Пікірлер: 168
@fhuable3 жыл бұрын
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.
@mohammedalbinalsheikh57083 жыл бұрын
Can a detailed explanation of the operating method be made?
@vladislove_bdhm Жыл бұрын
@@mohammedalbinalsheikh5708 Yes! Please!!
@frostytazz29092 ай бұрын
Can you utilize this code for Python 3? Is there a way to translate from version 2 to 3?
@michaelcherry89525 жыл бұрын
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.
@Preso584 жыл бұрын
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
@vicBanga4 жыл бұрын
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!
@staynegativevro69434 жыл бұрын
Hahaha same vro.
@guptaanmol184 Жыл бұрын
This is great! Thanks for sharing this with the world!
@genericpenguin5 жыл бұрын
Amazing. 11/10 for ingenuity and execution.
@legotechnic275 жыл бұрын
Holy shit man, that's soo cool. You clearly put a lot of effort into this, wonder if you could sell them.
@fhuable5 жыл бұрын
The workflow is a bit labour-intensive at moment. (My fingers still hurt from pressing 1000 nails into the board ;)
@erikcederb4 жыл бұрын
@@fhuable Mount a nail gun to your CNC router, and you should be able to do this without hurting your fingers. :-)
@DerSolinski4 жыл бұрын
@@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
@erikcederb4 жыл бұрын
@@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.
@hakonsoreide4 жыл бұрын
@@fhuable If you think that's labour-intensive, try pulling the string through by hand as well...
@charliegnu4 жыл бұрын
Awesome use of programming and cnc machines to make beautiful physical art.
@stephaneg10234 жыл бұрын
Best project I saw for a while 😍 Congratulation.
@marcsimonsen15784 жыл бұрын
I love the video work and the art you created with the string! This is awesome!
@jaapverhoeven8734 жыл бұрын
So amazed by this channel
@khoinguyen429310 ай бұрын
Please give more detailed instructions on creating gcode. Thank you
@turkerberber5038 Жыл бұрын
hey guys, i can voluntarily build the cnc mechanic and share here with you. who can help by implementing the software?
@paraparasolian64843 жыл бұрын
If this is your "first test" -- I say it is better than Djoker getting a grand slam!
@paraparasolian64843 жыл бұрын
I was going to ask you --- do we start with a set of stippling points? if not, could we? or should we?
@fhuable2 жыл бұрын
Everything starts with where the nails have to go, yeah. Is that what you're asking?
@paraparasolian64842 жыл бұрын
@@fhuable Yes, I am asking how you determine where the nails go and if there is an algorithm for it.
@fhuable2 жыл бұрын
@@paraparasolian6484 see video around 1:00 as well as my pinned comment for the code
@AnjudaGuitarsLuthierAlcobendas5 жыл бұрын
As genius as usual Florian!
@DonLKSAB Жыл бұрын
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 :-)
@fhuable11 ай бұрын
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.
@landy1535 жыл бұрын
What the software is at the begining?
@tyc66642 жыл бұрын
i cant use github codes. can you help me? i want to make my own photos string art.
@vladislove_bdhm Жыл бұрын
YES! Please tell us. We are very, very, very, very interested and grateful.
@walterhynson28983 жыл бұрын
really nice work
@mrsalim50123 жыл бұрын
Super amazing 👍
@lestiinsomnia4 жыл бұрын
amazing work man
@zavtonialexandru3 ай бұрын
Bravo
@jacowaes Жыл бұрын
Interesting where you got that 'blunt needle' bit for the router ?
@rvg5574 жыл бұрын
What a great and clever job done in python ! Congrats
@jaimequiroga51593 жыл бұрын
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
@justinahrens18685 жыл бұрын
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!
@justinahrens18685 жыл бұрын
Also, if you did share the code/process - I would love to give it a shot!
@fhuable5 жыл бұрын
I'm a bit busy at moment but will share more info later
@justinahrens18685 жыл бұрын
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.
@StAvram Жыл бұрын
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
@StAvram Жыл бұрын
but I'm judging the picture of Einstein)
@Newsolution88763 жыл бұрын
it is so Verrrrry cool
@ЗвардГеворгова4 жыл бұрын
Hello 👋🏻 please tell me where you can buy such a device?
@vladislove_bdhm Жыл бұрын
YES! Please tell us. We are very, very, very, very interested and grateful.
@DarcyWhyte4 жыл бұрын
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.
@fhuable4 жыл бұрын
Absolutely. The nails should be placed by the CNC as well.
@tomz8084 жыл бұрын
Can you 3d print the nails as posts? Would they be strong enough?
@mostafakamel39562 жыл бұрын
What is the name of this program please?
@minimaker56004 жыл бұрын
It needs a plexi case over it . . . I can see it in a year, covered in cobwebs; you made the spiders very happy :o)
@fhuable3 жыл бұрын
I was thinking the same thing. Thought it would collect a lot of dust but it's not so bad.
@dorus5883 жыл бұрын
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?
@fhuable3 жыл бұрын
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.
@uSw-kp4iz5 жыл бұрын
OMG, it's sooo cool!
@curtispreston44005 жыл бұрын
dude this is super cool, i also like your dremel cnc.
@omkarpatil67592 жыл бұрын
@fhuable Where I can get this type of super coll robot?
@vladislove_bdhm Жыл бұрын
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
@WayofWood4 жыл бұрын
Nice work. How did you calculate the nail positioning?
@DavidLindes4 жыл бұрын
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? :)
@girishpatel85153 жыл бұрын
I m doing that job with tsp formula (travelling salesman problem) but it's taking too much time :(
@MaxSMoke777 Жыл бұрын
You should make a little dam around the edges and add a layer of resin. Then pull all of the nails out.
@fhuable Жыл бұрын
That's a cool idea!
@sabbirislam214 жыл бұрын
Nice work.
@william_88442 жыл бұрын
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
@ericfontanini5732 жыл бұрын
Amazing!!! I would like to know more about, has the printer been adapted?
@rodrigueroland5 жыл бұрын
Great! Very cool project ;)
@sebastianroa56314 жыл бұрын
GENIUS
@deskcity12 жыл бұрын
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 ?
@fhuable2 жыл бұрын
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.
@angst_3 жыл бұрын
Did you use a cam program to make the paths that threads the strings without hitting the nails?
@fhuable3 жыл бұрын
My code is creating the tool paths. So technically yes, I'm using a cam program ;)
@angst_3 жыл бұрын
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!
@fhuable3 жыл бұрын
@@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 :)
@angst_3 жыл бұрын
@@fhuable Oh of course I'll still try!
@raulzartspfc3 жыл бұрын
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
@fhuable3 жыл бұрын
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.
@yasinuca98543 жыл бұрын
How can I upload different photos to the software?
@fhuable3 жыл бұрын
you can change it in the json file, or the code
@noobmistermuffin5 жыл бұрын
yo bro this wak could this be used in any cnc machine if i mount the piece correclty
@fhuable5 жыл бұрын
I don't see why not
@bonafide90853 жыл бұрын
Hi Florian, Nice project! Thanks for the pseudo code. How do you look up the neighbor nails? Within a search radius?
@fhuable3 жыл бұрын
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
@bijudhanapalan2982 Жыл бұрын
Superb!
@todoconcolores17573 жыл бұрын
software for cogigo G?
@independencedayvideos28603 жыл бұрын
Nice work bro. Ur cnc machine is also nice. Which one u use for it
@Emi-jz6lb4 жыл бұрын
hello wonderful video, do you want to know what programs you use to do all the various steps?
@selulancie5 жыл бұрын
amazing!
@alfiyashakuryanova25864 жыл бұрын
It's really cool! Could you please tell me what the machine are you using for threading?
@khoinguyen429310 ай бұрын
Please give more detailed instructions. please
@Radiology.Expert2 жыл бұрын
You're fucking genius man
@LJTobek5 жыл бұрын
This is amazing! Will you make the code etc. open source?
@fhuable5 жыл бұрын
Possibly, at some point. Right now it's more of a research project (read: unbelievably messy)
@sachithwickramaarachchi96953 жыл бұрын
What is this machine🤔
@quangcuongcao78313 жыл бұрын
how much is this machine ? Where can I buy ?
@vladislove_bdhm Жыл бұрын
YES! Please tell us. We are very, very, very, very interested and grateful.
@3then5 жыл бұрын
come over from wintergatan... awesome work there! subscribed! :)
@fhuable5 жыл бұрын
Welcome. Martin's making good progress now. Can't wait to see him playing a song on the MMX :D
@edmilsonsantos4123 Жыл бұрын
Como faço essa matemática de detalhes?
@fhuable Жыл бұрын
You can find the code on github.
@eliofistarol84794 жыл бұрын
really nice work! How did you prevent the string nozzle from colliding with already wound string?
@fhuable4 жыл бұрын
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.
@mattymcsplatty54404 жыл бұрын
very cool
@rjanapriya5 жыл бұрын
From where did you source the tip/nozzle? did you custom made it? Awesome work BTW!
@fhuable5 жыл бұрын
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)
@rjanapriya5 жыл бұрын
@@fhuable thanks, and cool animation at the beginning as well!
@florinfbz45594 жыл бұрын
fhuable hi, how did you create that animation ?
@marpromat19934 жыл бұрын
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.
@damnned2 жыл бұрын
couldnt get the code running deep tutorial would be perfect
@vladislove_bdhm Жыл бұрын
YES! Please tell us. We are very, very, very, very interested and grateful.
@7R15M3G14 жыл бұрын
Wow!
@tbletalemu6534 жыл бұрын
wow
@Alireza-is7pr4 жыл бұрын
What's the name of machine?
@fhuable4 жыл бұрын
It's my scratch built DIY CNC router, I call it Bob ;)
@DerSolinski4 жыл бұрын
... 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.
@fhuable4 жыл бұрын
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 ;)
@DerSolinski4 жыл бұрын
@@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 🤣
@GglSux4 жыл бұрын
Very nice "work", thanks for sharing! Just curious, how come You ran the "string script" under windows ? Best regards.
@DerSolinski4 жыл бұрын
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.
@cristiano4826 Жыл бұрын
what is the use pointcloud here?
@ConsultingjoeOnline4 жыл бұрын
Thats Awesome! I'd like to build this... After I finish my BarBot ;)
@jasmingonzalezrobles51054 жыл бұрын
What’s the software ?
@vladislove_bdhm Жыл бұрын
YES! Please tell us. We are very, very, very, very interested and grateful.
@jasmingonzalezrobles51054 жыл бұрын
Amazing ! Could the machine make a photo with diferentes strings colors ?
@fhuable4 жыл бұрын
I guess it could. The algorithm would get a lot more complicated though.
@olgas_deriabina4 жыл бұрын
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!
@anumehachakravarty373 жыл бұрын
Amazing! Are you selling too?
@MrPinolatino5 жыл бұрын
Fantastico!!
@NikKappa5 жыл бұрын
Woww😍
@THEbaDrehtoMrEKCUF11 ай бұрын
WOWWWW WOWWWW WOWWWW only WOWWWWWW
@nnamerz3 жыл бұрын
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
@sayyadnaseer42945 жыл бұрын
Beyond CNC
@guilhermetostes444 жыл бұрын
I am completely interested in purchasing this machine. What is the possibility?
@fhuable4 жыл бұрын
I am just using my CNC router. You do not want to buy that ;)
@yuti38974 жыл бұрын
Самое сложное - гвоздики х)
@ACoustaDC4 жыл бұрын
WoW
@formviza84894 жыл бұрын
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 🙏🏻
@fhuable4 жыл бұрын
I believe there are a few people on Etsy that sell customized string art portraits if that's what you're after.
@formviza84894 жыл бұрын
fhuable thank you sir
@khalifashil5 жыл бұрын
thats great man good job . i wonder if you could share the source codes :)
@VicVegaTW5 жыл бұрын
Wow, you’re out of control
@LONEWOLFART3 жыл бұрын
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🤗
@fhuable3 жыл бұрын
I thought I did just that :)
@a____r__k65792 жыл бұрын
how much for one drawing art
@sallerc4 жыл бұрын
Super cool! Too bad you had to put in the nails manually tho, you know what you need to do to complete this project ;-)
@fhuable4 жыл бұрын
Yeah, I already designed a "nail gun" thing for the CNC, but got distracted :)
@sallerc4 жыл бұрын
Really? Hope we get to see it in some future video!
@asemblerful4 жыл бұрын
@fhuable Hi! Can you share souce code?
@rainerkambacheld54145 жыл бұрын
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.
@akraus535 жыл бұрын
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?
@fhuable5 жыл бұрын
Will do. Just need to find some time
@TheMansurblch5 жыл бұрын
@@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
@abdullahduraid70003 жыл бұрын
@@fhuable very good work Can you share code or send it to my email i will be Very grateful❤️
@nguyenbao32354 жыл бұрын
aww! i don't know how to do it
@nguyenbao32354 жыл бұрын
how did u do that
@arkeyarkey94893 жыл бұрын
I can do that. Not
@preuenpesch65404 жыл бұрын
Robots destroy the beauty of the craft, sorry, i'll buy the handcrafted one with little defects that make it unique and beautiful.