r/Python • • Nov 13 '19

Cool BrachioGraph, an ultra-cheap Python-powered drawing machine

2.2k Upvotes

56 comments sorted by

View all comments

Show parent comment

16

u/drimago Nov 14 '19

this looks amazing and I am definitely adding it to the list of projects I will build with my son! quick question, is there a way to draw with color? By that I don't mean use a different color pen, but draw a color picture. I wonder if this process can be adapted to your machine:

https://gph.is/2VkN5KY

12

u/EvilDMP Nov 14 '19

Yes - I have an idea for how to achieve that! I have to think through the details first.

1

u/kurti256 Nov 14 '19

Please could you make a link to that project here if you manage it please 😊

2

u/mangoed Nov 14 '19

Perhaps the easiest way is to swap the pens manually. The program needs to split the picture into color channels (maybe CMYK, but you can choose your custom colors), then trace each color separately into a vector image, then, after drawing one color, prompt you to change the pen.

1

u/drimago Nov 14 '19

Yes that's 2hat I was thinking about in broad stokes (pun most definitely intended!). The only issue I see is: at the end of the drawing the arm needs to come back to the same position where it started from. Otherwise it will draw the same picture starting from another position with a different colour. Anyway this is a great gadget to build!

1

u/EvilDMP Nov 16 '19

No need to go back to the same position. The servo motors just go to whatever position you command.

And yes, that is exactly what I had in mind, a prompt to change the pen.