The underlying design principle of draw-something is to start with code that does nothing and extend that. 🙂 So I need a do-nothing hole maker. Then I can build on that. I think I’ll start with convex-hull outer shapes, as I won’t have to worry about how to draw inside the “tendrils” that the unsorted shapes have.
Should holes be drawn around or inside by the drawing algorithm? I think inside, to match how I draw holes, but this will require an inside/outside switch on the drawing algorithm. Shouldn’t be too hard.
draw-something can now outline a 1000 line scribble in two to three minutes:
Not bad. I’ll optimise it more another time.