graphics demo (PIPE.BAS)

graphics demo by Mark Proudfoot, 7

Description

graphics demo by Mark Proudfoot, 7

From the Antic disk of August 1989 (Vol. 8 No. 4).

From the Antic Software Archive at atarimagazines.com. The program remains the property of its author and publisher.

What is in this file

Atari BASIC program · 865 bytes

Dialect
Atari BASIC
Lines
21
Variables
A, B, C, X, Y, G, K, K1
BASIC listing (21 lines)
5 REM PIPE
6 REM BY MARK PROUDFOOT
7 REM (C)1989, ANTIC PUBLISHING INC
10 GRAPHICS 9:POKE 712,16:DEG
40 FOR B=1 TO 61
50 FOR A=10 TO 17:COLOR A-9
60 PLOT A,B:NEXT A
70 FOR A=18 TO 25:COLOR 25-(A-4)
80 PLOT A,B:NEXT A:NEXT B
90 FOR A=31 TO 46:K=A-30:COLOR K
100 PLOT 25-INT(K/3),A:DRAWTO 40,A
110 NEXT A:C=15
115 FOR A=46 TO 61:K=ABS(A-61):COLOR K
120 PLOT 25-INT(K/3),A:DRAWTO 40,A
125 NEXT A:C=15:SOUND 1,25,0,2
130 X=41:Y=INT(RND(0)*3)+58:G=(RND(0)*2)+2
135 SOUND 0,PEEK(53770),10,2:SOUND 0,PEEK(53770),8,2
140 COLOR (RND(0)*8)+1:G=G*1.5:PLOT X,Y
150 X=X+2:Y=Y+G
160 IF X>78 OR Y>179 THEN GOTO 130
170 GOTO 135