Hi, I’ve been trying to recreate a commercial tartan pattern for myself trough Figma, and though it looks almost okay, the spacing in between the horizontal lines below (created by a clipping layer) always seems to be uneven.
The solid squares in the center look almost rectangular due to the clipping mask, the white squares in the corner end up being actually rectangular, despite all white borders being equally wide, and the spacing in the bottom white stripes are closer together in the middle.
I know it must be caused by either ratios or my clipping layer, but I’m not sure which math is required to make a perfect square tile.
Frame/tile size: 2250 px
Purple stripe: 306.8 px wide
White stripe: 41.11 px wide
Clipping mask stripe: 10.2 px wide
The entire pattern is created by making all vertical stripes first, then duplicating that layer and rotating it by 90 degrees, and then appying the striped clipping mask in between the vertical and horizontal layers

The reason I’m using Figma is because I want to use a vector-based software in case I want to rotate the stripes, and I don’t have Adobe Illustrator