THE AUTHOR of Kaleidoscope, Matthew Calveley, of Lytham, Lancs, claims amazing results with this ZX-81 program. It will generate a random number of dots at random points on the bottom left of the screen and then re-create that pattern on the other quarters of the screen. All the patterns created will be symmetrical.
Kaleidoscope occupies 1.2K of memory but can be squeezed into 1K by removing lines 120 onwards, using VAL where numbers are used and by changing line 10 to: 10 LET N=INT (RND*25)+25.
10 LET N=INT (RND*250)+200
20 FOR A=1 TO N
30 LET V=INT (RND*22)
40 LET H=INT (RND*32)
50 LET RV=21+(22-V)
60 LET RH=31+(32-H)
70 PLOT H,V
80 PLOT RH,V
90 PLOT RH,RV
100 PLOT H,RV
110 NEXT A
120 POKE 16418,0
130 PRINT AT 23,0;"TYPE C TO RUN,Z TO COPY DESIGN"
140 IF INKEY$="" THEN GOTO 140
150 IF INKEY$="Z" THEN GOTO 180
160 IF INKEY$="C" THEN RUN
170 GOTO 140
180 PRINT AT 23,0;"(32 SPACES)"
190 COPY
200 GOTO 130

List Scrapebook
Bob Malloy & Tom Skapinski Discuss a TS 2068 Program Before a Meeting
Come to the List Meeting and be part of the action
Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.