Random squares

Hi friends,

I am new to grasshopper. I want to create a design like that in the attachment. I did half of the way. but I can’t create a gradient like design in my grasshopper. Pls, teach me how to achieve like the attached picture.

square pixel.gh (11.8 KB)

You might want to see this topic.

thanks for your valuable reply. But still I cant understand.

square pixel_2019Jul6a.gh (17.4 KB)


thank you so much…I tried more than one week in internet . but you solved it… once again thank you so much…