costas arrays

n×n grid, one dot per row and column, and every displacement vector between two dots is unique. no two pairs of dots ever share the same (Δx, Δy).

welch: dot at (i, g^i mod p), i=1..p-1. golomb: (i, g^i mod p) mapped to 0..p-2. only primes work; the slider snaps.