pub fn grid_width(pw: f32, ph: f32) -> f32
Return the grid-space width for a window of size pw × ph pixels.
pw × ph
Height is always 1080 units; width scales proportionally with the aspect ratio.