Lovely Gradients

I got one of those tiny but addictive games on my Switch called Gradiently, where you get a rectangle of rectangles and you have to sort the inner rectangles into a board of lovely gradiating gradients.

Yeh you got it 👍

When ever I play it, I always get slightly upset that the final sorted board doesn't stay on the screen - they changed that just this month, now it does and this is an improvement.

Anyway, I thought it would be a nice exercise to generated sorted gradient boards.

Download PNG