Equal Shares and Square Grids

Choose a shape and the number of parts, then tap parts to color them. Switch to Rows and columns of squares to fill a rectangle.