different video encoding. let's see how this looks.
free endpoints of lines are attracted to mid sections of nearest other lines. if they are near enough, they connect and aren't free any more. they break up again however if the angle gets too small.
the playback speed is not the original speed. at the begining the calculation of a frame takes longer, as i used a naive O(n^2) algorithm for the nearest line search. the more lines are connected however, the faster it gets.