pub fn centroid_from_bbox( x: u32, y: u32, w: u32, h: u32, frame: u32, area: u32, ) -> ParticleCentroid
Centroid of a bounding box (integer mid-point) — convenience for box→particle bridges.