I have a grid with a variable width/height spacing. Let's say 100 horizontal lines separated by 80 pixels and 100 hundred vertical lines separated by 50 pixels.
Each cell of the grid in my logic have the same function as a pixel. So each of my pixels will be 50 px width and 100 px height.
I need to draw a circle filled with a color (let's say black) and without stroke.
I also need my circle to (as it is made out of filled cells) be with the less rectangles as possible, so certain rectangles are bigger than other ones.
for example the center of the circle is made out of one big rectangle then as we go closer to the edge the rectangles becomes smaller.
for example here I have circle with a grid of same width/height spacing made out of 9 rectangles (sorry for the quality of the image)