Tinkering around with circles and colors, I created a program which creates interesting images, both with pygame.draw.circle() (left) and pygame.gfxdraw.circle() (right). (Both images at 400×400 pixels)
To get a smoother and nicer result, I tried using the pygame.gfxdraw.aacircle() function, which draws antialiased circles.
As expected, the antialiased function gets rid of the black spots between the colored circles.
Wanting a higher resolution, I used the same code on a 1000×1000 pixel wide surface.
Again, it is a smooth and neat result. But as I got higher and higher resolutions, I got this interesting result. (At 3000×3000 pixels)
To make sure, the problem is on pygame.gfxdraw.aacircle()’s side, I created images of equal size with both pygame.draw.circle() (left) and pygame.gfxdraw.circle() (right). (Both images again at 3000×3000 pixels)
To ensure, the problem is not on my Operating System’s side, I used the exact same code on Mac OSX, Debian Linux and Windows 7 and 8.1 and got the same result each time.
At last, I used all three functions at 4000×4000 pixels. (pygame.draw.circle() on the left, pygame.gfxdraw.cirlce() on the right and pygame.gfxdraw.aacircle() on the bottom)
# Python 2.7.7 Code
# Pygame 1.9.1 (for Python 2.7.7)
# Jonathan Frech 19th of August, 2015
# edited 20th of August, 2015
# edited 21st of August, 2015
# edited 5th of September, 2015
# edited 26th of September, 2015