v21’s avatarv21’s Twitter Archive—№ 62,886

  1. …in reply to @lorenschmidt
    @lorenschmidt i'm keeping track, as i classify edges, which cells need to be put into lines later. then i pull one from that list, then follow the exit of that cell into the next, and so on anti-clockwise.
    1. …in reply to @v21
      @lorenschmidt which is fine, and seems to be working. complicated bits: - for closed shapes, connecting back to the start - for open shapes, joining possible fragments together (if we started halfway) - saddles can be part of two lines at once
      1. …in reply to @v21
        @lorenschmidt also the whole thing where you operate on cells but the points of the line you're generating are at the edges between the cells. and that the array of cells is one smaller than the array of pixels (in both dims). and whether y is up or not.