This code
Graphics[{Red, Polygon[{{0, 0}, {0, 10}, {1, 10}, {1, 0}}]}];
Graphics[{Blue, Polygon[{{1, 0}, {1, 9}, {2, 9}, {2, 0}}]}];
Graphics[{Green, Polygon[{{2, 0}, {2, 8}, {3, 8}, {3, 0}}]}];
Show[%, %%, %%%]
nicely creates what I need:
But, I need ten of them and it is tedious to do it one line at a time. For the corners, I tried NestList
like this
NestList[{{# + 1, 0}, {# + 1, # - 1}, {# + 1, # - 1}, {# + 1,
0}} &, {{0, 0}, {0, 10}, {1, 10}, {1, 0}}, 3]
but that did not work.
Should have hung in a moment longer. Found this to work
NestList[{{#[[1, 1]] + 1,
0}, {#[[2, 1]] + 1, #[[2, 2]] - 1}, {#[[3, 1]] + 1, #[[3, 2]] -
1}, {#[[4, 1]] + 1, 0}} &, {{0, 0}, {0, 10}, {1, 10}, {1, 0}}, 3]
Still interested in better ways, though.