home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 December
/
simtel1292_SIMTEL_1292_Walnut_Creek.iso
/
msdos
/
pcmag
/
vol7n11.arc
/
LN711.ARC
/
CIRCLE.BAS
< prev
next >
Wrap
BASIC Source File
|
1988-05-02
|
524b
|
15 lines
DEFINT A-Z
SCREEN 9
WHILE INKEY$ = "" 'continue until a key is pressed
X = RND * 640 'random X center
Y = RND * 350 'random Y center
Radius = RND * 100 'random radius
C = (C MOD 14) + 1 'increment C from 1 to 14 then back to 1 again
CIRCLE (X, Y), Radius, 15 'draw circle in white
PAINT (X, Y), C, 15 'fill to boundaries of the circle in color C
CIRCLE (X, Y), Radius, C 'redraw the circle in color C
WEND