Making portraits from thread
This algorithm takes as input an image you want to draw, and will output:
To run the script, call py main.py [args]
from the command line with the following arguments:
BOARD_WIDTH
: width of the board in centimetersPIXEL_WIDTH
: suggest keeping this constant and changing board width onlyLINE_TRANSPARENCY
: how many lines overlapped required to reach black (value between 0 to 1)NUM_NAILS
: how many nails to place on the boardMAX_ITERATIONS
: how many thread segments to place before algorithm terminates