Doodles Wall c[_]

source

I use two tricks there. One, convert contours to shape to detect if they overlap or not (by getting the area of the intersection). The other is to multiply one contour pose by the inversed of the other contour pose to make them touch on an edge.

1 Like

I iterated on this one, tweaked the algorithm and added textures:

1 Like

I’ve been writing methods to convert ShapeContour, Segment2D and RectifiedContour and Shape to a VertexBuffer mesh. The first three can be converted with a variable width defined by your own function. The resulting mesh contains normals, texture coordinates and directions per vertex, which is what I used here to colorize the curves :slight_smile:

I’ll send soon a pull request with these changes.

1 Like