Journal #8

ellie_the_elephant_2

Today I learned basic code for drawing shapes
I made this code for making arcs to create an eclipse
pygame.draw.arc(screen, GREEN, [100,100,250,200], PI/2, PI, 2)
pygame.draw.arc(screen, BLACK, [100,100,250,200], 0, PI/2, 2)
pygame.draw.arc(screen, RED, [100,100,250,200],3*PI/2, 2*PI, 2)
pygame.draw.arc(screen, BLUE, [100,100,250,200], PI, 3*PI/2, 2)

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s