Continuous Random Line

@humano I think you will be interested in Voronoi diagrams.

img

There are several implementations of the algorithm:
https://rosettacode.org/wiki/Voronoi_diagram
https://algorist.com/problems/Voronoi_Diagrams.html