As I am using Unity, I can easily grab a square of pixels of any length. However, I want to find the largest circle possible within that square of pixels.
So for instance, if I had a 40 x 40 square of pixels, how would I get an array of pixels that form a circle inside of the square?