Draw until intersecting

1) choose a point on the canvas.
2) draw a line from that point to another point x pixels away.
3) if that line crosses a line of the same color, pick a new color from the palette.
4) once all colors used, stop.

view source code

back to sketches