Home » Archimedes archive » Acorn User » AU 1997-12.adf » Regulars » StarInfo/Twine/Twine1
StarInfo/Twine/Twine1
This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.
Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.
Tape/disk: | Home » Archimedes archive » Acorn User » AU 1997-12.adf » Regulars |
Filename: | StarInfo/Twine/Twine1 |
Read OK: | ✔ |
File size: | 01BE bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
10MODE 31:OFF 20FOR i=0 TO 15 30 COLOUR 15-i,i*17,i*17,i*17 40NEXT 20n=500 30max=10000 40DIM x(n),y(n) 50REPEAT 60 CLS 140 FOR i=0 TO n-1 150 x(i)=RND(1600+600)-300 160 y(i)=RND(1200+600)-300 170 NEXT 180 black=0 190 REPEAT 200 x0=x(0) 210 y0=y(0) 220 FOR i=0 TO n-1 230 c=POINT(x0,y0) 240 IF c<15 GCOL c+1:POINT x0,y0 ELSE black+=1 250 x1=x((i+1)MODn) 260 y1=y((i+1)MODn) 270 x(i)+=(x1-x0)/50 280 y(i)+=(y1-y0)/50 290 x0=x1 300 y0=y1 310 NEXT 320 UNTIL black>max 330 a=INKEY500 340UNTIL 0
� 31:� � i=0 � 15 � 15-i,i*17,i*17,i*17 (� n=500 max=10000 (� x(n),y(n) 2� < � � � i=0 � n-1 � x(i)=�(1600+600)-300 � y(i)=�(1200+600)-300 � � � black=0 � � � x0=x(0) � y0=y(0) � � i=0 � n-1 � c=�x0,y0) �' � c<15 � c+1:Ȓ x0,y0 � black+=1 � x1=x((i+1)�n) y1=y((i+1)�n) x(i)+=(x1-x0)/50 y(i)+=(y1-y0)/50 " x0=x1 , y0=y1 6 � @ � black>max J a=�500 T� 0 �
00000000 0d 00 0a 0a eb 20 33 31 3a 87 0d 00 14 0e e3 20 |..... 31:...... | 00000010 69 3d 30 20 b8 20 31 35 0d 00 1e 1a 20 fb 20 31 |i=0 . 15.... . 1| 00000020 35 2d 69 2c 69 2a 31 37 2c 69 2a 31 37 2c 69 2a |5-i,i*17,i*17,i*| 00000030 31 37 0d 00 28 05 ed 0d 00 14 09 6e 3d 35 30 30 |17..(......n=500| 00000040 0d 00 1e 0d 6d 61 78 3d 31 30 30 30 30 0d 00 28 |....max=10000..(| 00000050 0f de 20 78 28 6e 29 2c 79 28 6e 29 0d 00 32 05 |.. x(n),y(n)..2.| 00000060 f5 0d 00 3c 06 20 db 0d 00 8c 10 20 e3 20 69 3d |...<. ..... . i=| 00000070 30 20 b8 20 6e 2d 31 0d 00 96 1a 20 20 78 28 69 |0 . n-1.... x(i| 00000080 29 3d b3 28 31 36 30 30 2b 36 30 30 29 2d 33 30 |)=.(1600+600)-30| 00000090 30 0d 00 a0 1a 20 20 79 28 69 29 3d b3 28 31 32 |0.... y(i)=.(12| 000000a0 30 30 2b 36 30 30 29 2d 33 30 30 0d 00 aa 06 20 |00+600)-300.... | 000000b0 ed 0d 00 b4 0c 20 62 6c 61 63 6b 3d 30 0d 00 be |..... black=0...| 000000c0 06 20 f5 0d 00 c8 0d 20 20 78 30 3d 78 28 30 29 |. ..... x0=x(0)| 000000d0 0d 00 d2 0d 20 20 79 30 3d 79 28 30 29 0d 00 dc |.... y0=y(0)...| 000000e0 11 20 20 e3 20 69 3d 30 20 b8 20 6e 2d 31 0d 00 |. . i=0 . n-1..| 000000f0 e6 10 20 20 20 63 3d b0 78 30 2c 79 30 29 0d 00 |.. c=.x0,y0)..| 00000100 f0 27 20 20 20 e7 20 63 3c 31 35 20 e6 20 63 2b |.' . c<15 . c+| 00000110 31 3a c8 92 20 78 30 2c 79 30 20 8b 20 62 6c 61 |1:.. x0,y0 . bla| 00000120 63 6b 2b 3d 31 0d 00 fa 14 20 20 20 78 31 3d 78 |ck+=1.... x1=x| 00000130 28 28 69 2b 31 29 83 6e 29 0d 01 04 14 20 20 20 |((i+1).n).... | 00000140 79 31 3d 79 28 28 69 2b 31 29 83 6e 29 0d 01 0e |y1=y((i+1).n)...| 00000150 17 20 20 20 78 28 69 29 2b 3d 28 78 31 2d 78 30 |. x(i)+=(x1-x0| 00000160 29 2f 35 30 0d 01 18 17 20 20 20 79 28 69 29 2b |)/50.... y(i)+| 00000170 3d 28 79 31 2d 79 30 29 2f 35 30 0d 01 22 0c 20 |=(y1-y0)/50..". | 00000180 20 20 78 30 3d 78 31 0d 01 2c 0c 20 20 20 79 30 | x0=x1..,. y0| 00000190 3d 79 31 0d 01 36 07 20 20 ed 0d 01 40 10 20 fd |=y1..6. ...@. .| 000001a0 20 62 6c 61 63 6b 3e 6d 61 78 0d 01 4a 0b 20 61 | black>max..J. a| 000001b0 3d a6 35 30 30 0d 01 54 07 fd 20 30 0d ff |=.500..T.. 0..| 000001be