learning/recreating the main concepts of the potrace paper by Peter Selinger to hopefully apply it to multi-color/posterized images
load: