SYMMETRY

See all articles from The Plotter v2 n4
Publication: The Plotter
Pub Details: The Plotter v2 n4 (Volume 2, Issue 4)
Date: April 1984
Pages: 2

We wish to thank all members who have sent in listings. We WILL use them as space allows.

This month our short progroam is indeed very short. It comes to us from ZX Computing and, I think that it should be tried out on the 2068 as well as black and white computer for which it was written. Thank you Simon Mills.

SYMMETRY

  5 LET C=40
10 CLS
20 LET A=RND*20
30 LET B=RND*20
40 PLOT A,B
50 PLOT B,A
60 PLOT C-A,C-B
70 PLOT C-B,C-A
80 PLOT A,C-B
90 PLOT B,C-A
100 PLOT C-A,B
110 PLOT C-B,A
120 IF INKEY$="" THEN GOTO 20
130 RUN

LINE NOTES:

20-30    Generate random.
         co-ordinates.
40-110   Plot the pattern
120-130  Clear screen if key is
         pressed.

T/S HELPLINE WILL BE BACK NEXT TIME

Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.