-
Notifications
You must be signed in to change notification settings - Fork 13
Home
Scott-Cooper edited this page Sep 4, 2016
·
1 revision
This software converts a JPEG to GCode line segments for use on a drawbot, polargraph, or vplotter.
It is written in https://processing.org so its simple to change and tweak. The basic algorithm is as follows:
- Find the darkest pixel in the entire image
- Lift up the pen
- Move there
- Lower the pen
- Lighten the pixel a bit so it not the darkest anymore
- Find the darkest pixel a couple pixels away from here
- Draw a line to it
- Lighten the pixel a bit so it not the darkest anymore
- Repeat steps 6-8 about 1000 times
- Repeat steps 1-9 about 200 times
- Lift up the pen, and done
You can find more at http://www.dullbits.com/drawbot/drawbot