[Solved] Find size of rectangles to fill area
As far as I understand, you want to place n rectangles with fixed C=W/H ratio on the wall with given Width and Height Let rectangle height is h (unknown yet), width is w = C * h Every row of grid contains nr = Floor(Width / (C * h)) // rounding down Every column contains … Read more