Say you wanted to draw a green (color 2) circle of radius 15 at X=200, Y=350. Think about how these values would be entered.
The program would start out interacting with the user something like:
Center X (0-639) ? 200 Center Y (0-479) ? 350 Radius (0-200) ? 14 Color (1-15) ? 2
At this point the SCREEN
12 statement would start graphics
and the ordinary screen would be replaced by the graphics
screen.
The green circle will then appear on the graphics screen.
That is the end of this chapter. You may wish to review the following. Click on a subject that interests you to go to where it was discussed.
SCREEN
statement.
PSET
statement.
COLOR
statement.
LINE
statement.
CIRCLE
statement.
INPUT
statement
with graphics statements.