3 size of tiles in a gradient pattern ? grasshopper

Hi,
I am trying to create a gradient pattern using these three sizes (10x10, 10x20 & 10x30) shown in the images. to create a gradient from square to rectangle using the three sizes. I saw this post that is similar to what I want to do: Three size of tiles in a grid
but instead of a randomized pattern, I would like it to be a gradient.
Any suggestions? Thanks in advance!

tile sizes

I have a similar problem do you know how could we do ?
Thanks