graphics demo (TUBES.BAS)

graphics demo, 4

Description

graphics demo, 4

From the Antic disk of November 1984 (Vol. 3 No. 7).

The magazine article

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 · 396 bytes

Dialect
Atari BASIC
Lines
9
Variables
S, AS, B, C, Z, D
BASIC listing (9 lines)
10 GRAPHICS 9:SETCOLOR 4,1,0:S=10
20 FOR AS=55 TO 0 STEP -S:FOR B=0 TO 24:C=B
30 IF B>11 THEN C=24-B:C=C+3
40 Z=AS+B
50 D=INT(SQR(B*(24-B)))/2:COLOR 15-C
60 PLOT Z,AS+7-D
70 DRAWTO Z,AS+7+D:COLOR C
80 DRAWTO B,180-AS+3:NEXT B:NEXT AS
90 GOTO 90