-
-
Notifications
You must be signed in to change notification settings - Fork 193
Open
Labels
Description
Environment:
- Operating system: Linux(Arch), Windows
- Python version: 3.11.5
- SDL version: 2.26.5
- PyGame version: 2.3.2
Current behavior:
gfxdraw.aacircle draws weird lines when radius is larger than about 1000.
Expected behavior:
To draw nice and round anti-aliased circle.
Screenshots:
Test code:
import pygame
from pygame import gfxdraw
pygame.init()
screen = pygame.display.set_mode((1000, 800))
run = True
while run:
for e in pygame.event.get():
if e.type == pygame.QUIT: run = False
screen.fill((0, 0, 0))
gfxdraw.aacircle(screen, -500, 1000, 1200, (255,255,255)) # radius = 1200
pygame.display.flip()
pygame.quit()
Task to close this issue
- deprecate
pygame.gfxdraw.aacircle