home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Share Gallery 1
/
share_gal_1.zip
/
share_gal_1
/
ED
/
ED101.ZIP
/
TUTORIAL.DOC
< prev
next >
Wrap
Text File
|
1991-09-02
|
9KB
|
293 lines
Graphics Option Tutorial
This tutorial will guide you through the creation of a very
simple animated drawing. Although you can probably get through
this short tutorial without it, I'm going to assume that you
have read the manual. The manual is located in the manual.doc
file.
In this tutorial you'll see some paragraphs that are labeled
MOUSE and some that are labeled KEYBOARD. You only need to
read the ones that are relevant to you. For example, if you
are not using a mouse then you only need to read the ones that
are labeled KEYBOARD.
It's actually much easier to draw using the mouse. When you use
the mouse remember that the left button can be used for "yes" or
in place of the ENTER key. The right button can be use for "no"
or in place of the ESC key.
Now let's get started. Load the program by entering the command
GO. If this doesn't work try using DC. Now press the ENTER key
twice. If you will be using a mouse press y. If not press n.
You should now be in MAIN MENU. Use the arrow keys or the mouse
to select the GRAPHICS option then press ENTER or the left mouse
button. You should now be in MAIN GRAPHICS MENU.
Now it's time to draw something. These are the steps:
1. DRAW A LINE
a. Choose the GRAPH option.
MOUSE - Move the mouse left or right so the arrow is
pointing to the word GRAPH then press the left button.
KEYBOARD - Press the first number key, "1".
you should now be in the GRAPH menu.
b. Now choose the DRAW option in the same manner that you
chose the GRAPH option.
c. Choose the LINE option from the DRAW menu using the
keyboard or the mouse as explained above.
d. Choose the color BLUE (press the number key "2" if
you're using the keyboard or place the arrow key over
the word BLUE then press the left button if you're
using the mouse).
e. Select the position 150,85 for the beginning of the
line.
MOUSE - Move the mouse until the cursor is at position
150,85 then press the left button.
KEYBOARD - Use the keys to move the cursor to position
150,85 then press the ENTER key. Use the arrow key
for single pixel cursor movements in either direction.
For large cursor movements in the horizontal direction
press the control key and then the left or right arrow
key simultaneously. For large cursor movements in the
vertical direction use the PGUP and PGDN keys.
f. Use the same technique to select position 180,85 for
the end point of the line. The line is now drawn and
you're back in the DRAW menu.
2. PLACE AN ANIMATE MARK
a. Go back to the GRAPH menu.
MOUSE - Press the right mouse button or select option
5-END from the menu.
KEYBOARD - Press the fifth number key or press ESC.
b. Select > to see the additional options.
c. Choose the AMARK or Animate Mark option. This stores
the existing drawing as an animation screen.
d. Select < to see the lower GRAPH options.
e. Choose the DRAW option again.
3. HIDE THE EXISTING LINE
Use the previous step #1 to draw a line over the existing
line but this time choose the color NONE. This will erase
the existing line without deleting it.
4. DRAW A BOX
a. Choose the BOX option using either the keyboard or the
mouse.
b. Select the color WHITE.
c. Move the cursor to 150,90 then press ENTER or the left
mouse button. This selects one corner of the box.
d. Move the cursor to 180,80 and press ENTER or the left
mouse button. This selects the opposite corner of the
box. The box is now drawn.
5. PLACE ANOTHER ANIMATE MARK
Repeat step #2 to store this drawing as an animation screen.
6. HIDE THE EXISTING BOX
To hide the box we could draw over it in the color NONE but
I want to show you another technique. This technique is
faster if you have a lot of different figures to hide.
a. Select 5 to return to the GRAPH menu.
b. Choose CLOAK using the keyboard or mouse.
c. Make sure the cursor is at 180,80 and then press ENTER
or the left mouse button. This selects one corner of
the area to be hidden.
d. Move the cursor to 150,90 and select this point like
you just did for the first corner. This selects the
opposite corner of the area to be hidden.
e. Select DRAW from the menu to get into the DRAW menu
again.
7. DRAW A CIRCLE
a. Select CIRCL or Circle from the menu.
b. Choose the color RED.
c. Type 15 then press ENTER to choose a radius of 15
pixels.
d. Move the cursor to 165,85 and press ENTER or the left
mouse button to locate the center of the circle at
165,85.
8. PLACE ANOTHER ANIMATE MARK
Repeat step #2 to store this drawing as an animation screen.
9. HIDE THE EXISTING CIRCLE
Repeat step #7 but this time choose the color NONE. This
will cover over the circle in background color and hide it
from view.
10. DRAW AN ARC
a. Choose > to see the additional options then select
ARC.
b. Choose the color BLUE.
c. Enter an aspect ratio of 2. This is y-pixels divided
by x-pixels.
d. Enter a radius of 30 by typing 30 then pressing ENTER.
e. Enter a start angle of 0 degrees.
f. Enter an end angle of 360 degrees.
g. Move the cursor to 165,85 and press ENTER or the left
mouse button. The ARC is now drawn.
11. PLACE ANOTHER ANIMATE MARK
Repeat step #2 to store this drawing as an animate screen.
12. ANIMATE YOUR DRAWING
a. Return to the GRAPH menu by choosing 5 or by pressing
the right mouse button.
b. See the additional options by selecting >.
c. Choose AMATE or Animate. The drawing now becomes
animated.
d. To stop the animation either press ESC, the fifth
number key or the right mouse button.
e. Select < to see first set of options.
f. Select DRAW.
13. DRAW A MACRO
a. Choose MACRO.
b. Choose the option CHOOSE A PROGRAMMED MACRO using the
arrow keys or the mouse.
c. Use whatever technique you desire to highlight the
MACRO you want. Let's highlight SCHOOL HOUSE. Now
press ENTER or the left mouse button.
d. Choose the color RED.
e. Choose SMALL.
f. Move the cursor to 165,90 and press ENTER or the left
mouse button. The school house is now drawn at the
location you specified.
14. PAINT
a. Select END to return to the GRAPH menu.
b. Select the PAINT option.
c. Select the color white.
d. Select the boundary color red.
e. Move the cursor to position 165,83 then press ENTER or
the left mouse button. The red school house will be
filled in with white paint.
15. WRITE TEXT
a. Choose the DRAW option from the GRAPH menu.
b. See the upper options by selecting >.
c. Choose TEXT from the DRAW menu.
d. Type this "Test 1+2=3." then press ENTER. Do not
type the quotation marks.
e. Choose the color RED.
f. Choose the SMALL size.
g. Move the cursor to position 138,123 then press ENTER
or the left mouse button.
16. COPY GRAPHICS
a. Return to the GRAPH menu by selecting END.
b. Select the COPY option from the GRAPH menu by first
selecting > to see the upper options then selecting
COPY.
c. Place the cursor at position 148,51 then press ENTER
or the left mouse button. This defines the upper left
corner of the graphics to be copied.
d. Place the cursor at position 181,117 then press ENTER
or the left mouse button again. This defines the lower
right corner of the graphics to be copied.
e. Move the cursor to position 47,51 and press ENTER or
the left mouse button again. This defines the upper
left corner of the location for the copy. You should
now have two identical school houses with ovals around
them.
17. SAVE YOUR DRAWING
a. Escape to MAIN GRAPHICS MENU by selecting END.
b. Select the FILE option.
c. Select the STORE option from the FILE menu.
d. Type TUTOR then press ENTER. Your graphics will be
stored in a file named TUTOR.CGP.
e. Choose END to return to MAIN GRAPHICS MENU.
This has been a very simple example of how to draw and animate
your drawing. For more examples see the example drawings DRAW3,
DRAW4, and DRAW6.