Note that aspect ratios different than 1 produce effects where the brush's color divide cuts through some of the sides near the corners, especially when the strokeWidth is thicker.
See also fourColorRectangle and multiColorRectangle.