So I started working on a way to draw the grids for Primaries. It involves using a particle system. Here’s a prototype that does not allow me to do what I need to, but is fun to play with:
http://code.compartmental.net/primaries/particle_spring_grid/