pub fn bresenham_path(ax: i32, ay: i32, bx: i32, by: i32) -> Vec<(i32, i32)>Expand description
Bresenham-style staircase between (ax, ay) and (bx, by) in canvas-grid coords. Single-axis steps only, interleaved by cross-multiplied normalized progress so the staircase doesn’t degenerate into a one-big-L jolt. Returns cells in start→end order.