home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 June
/
PCWorld_1998-06_cd.bin
/
software
/
Programy
/
ARCADEA
/
DEMO30
/
MACROS.Z
/
CIRC.d3m
< prev
next >
Wrap
Text File
|
1997-04-15
|
333b
|
25 lines
'draws a circle of radius 10
'prompt user for circle's center
Setpoint "Set a point for the center of the circle" 1
Pointval x y z 1
rad=10
'start drawing the circle
sys(36) = 1
>line
{
<color 255,0,0
for i = 0 to 360 step 5
<pointxyz [x+rad*cos(i), y+rad*sin(i), z]
next i
}
end