Lines in General Arrangement Visualizer

A visualization of lines in general arrangement, where:

  1. No two lines are parallel
  2. No point is common to three lines

The maximum number of regions formed by n lines in general arrangement is given by:

R(n) = 1 + n(n+1)/2

This corresponds to the OEIS sequence A000124.