Pixel/Minecraft Circle Approximation
Difficulty : ★ ★ ★ ☆ ☆
since pixels (or minecraft blocks) are square, they can’t represent a circle perfectly. figure out the closest approximation of a circle for a given pixel diameter.
xxx x x x x x x x x x x xxx
Here is an image to help give you a better idea of what the output should look like