Novo 2
Novo 2
import pygame
from math import pi
# All drawing code happens after the for loop and but
# inside the main while done==False loop.
# Draw on the screen a GREEN line from (0, 50) to (50, 80)
# Because it is an antialiased line, it is 1 pixel wide.
pygame.draw.aaline(screen, GREEN, [0, 50],[50, 80], True)
# Draw a circle
pygame.draw.circle(screen, BLUE, [60, 250], 40)
# Be IDLE friendly
pygame.quit()