The size of screen 12 is 640 in X by 480 in Y. About where on the screen will this circle be?
The circle will be in the center of the screen because its center is has the center of the X range (320 out of 640) and its center has the center of the Y range (240 out of 480).
To set the color use:
COLOR colorNumber
The colorNumber is a number 0 to 15. Here is a table of colorNumbers (repeated from a previous chapter):
Color Number | Color | Color Number | Color |
---|---|---|---|
0 |
Black | 8 |
Gray |
1 |
Blue | 9 |
Light Blue |
2 |
Green | 10 |
Light Green |
3 |
Cyan | 11 |
Light Cyan |
4 |
Red | 12 |
Light Red |
5 |
Magenta | 13 |
Light Magenta |
6 |
Brown | 14 |
Yellow |
7 |
White | 15 |
Bright White |
Here is the program. Fill the blanks so that it draws a red circle.
' Draw one RED circle SCREEN 12 LET HUE = ________ COLOR ________ CIRCLE (320, 240),50 END
Fill in the blanks of the program.