Home » Archimedes archive » Acorn User » AU 1994-02.adf » !StarInfo_StarInfo » Vibe/Star
Vibe/Star
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 1994-02.adf » !StarInfo_StarInfo |
Filename: | Vibe/Star |
Read OK: | ✔ |
File size: | 02FC bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
10REM >Star 20REM By Jan Vibe 30REM For 32-bit machines 40REM (c) AU February 1994 50: 60MODE 137 70MODE 9 80ORIGIN 640,512 90OFF 100s=1 110a%=0 120c%=0 130k%=10 140s%=360/k% 150DIM x(k%),y(k%),x1%(k%,15),y1%(k%,15) 160 170FOR n%=1 TO k% 180 t=RAD(s%*n%) 190 x(n%)=SINt 200 y(n%)=COSt 210NEXT 220FOR n%=1 TO 15 230 COLOUR n%,16*n%,0,16*(16-n%) 240NEXT 250 260ON ERROR SYS 6,112,s:PRINTREPORT$" at line ";ERL:ON:END 270 280REPEAT 290 WAIT 300 SYS 6,112,s 310 s=3-s 320 SYS 6,113,s 330 CLS 340 a%=(a%+8) MOD 360 350 c%=(c%+1) MOD 16 360 z=160*SINRAD(5*s%*k%+a%)+340 370 MOVE z*x(k%),z*y(k%) 380 FOR n%=1 TO k% 390 z=160*SINRAD(5*s%*n%+a%)+340 400 x1%(n%,c%)=z*x(n%) 410 y1%(n%,c%)=z*y(n%) 420 NEXT 430 FOR n%=0 TO 15 440 GCOL n% 450 c1%=(c%+n%)MOD16 460 MOVE x1%(k%,c1%),y1%(k%,c1%) 470 FOR m%=1 TO k% 480 DRAW x1%(m%,c1%),y1%(m%,c1%) 490 NEXT 500 NEXT 510UNTIL FALSE
� >Star � By Jan Vibe � For 32-bit machines (� (c) AU February 1994 2: < � 137 F� 9 Pȑ 640,512 Z� ds=1 na%=0 xc%=0 � k%=10 � s%=360/k% �'� x(k%),y(k%),x1%(k%,15),y1%(k%,15) � �� n%=1 � k% � t=�(s%*n%) � x(n%)=�t � y(n%)=�t �� �� n%=1 � 15 � � n%,16*n%,0,16*(16-n%) �� � '� � ș 6,112,s:�$" at line ";�:�:� � " Ȗ , ș 6,112,s 6 s=3-s @ ș 6,113,s J � T a%=(a%+8) � 360 ^ c%=(c%+1) � 16 h z=160*��(5*s%*k%+a%)+340 r � z*x(k%),z*y(k%) | � n%=1 � k% � z=160*��(5*s%*n%+a%)+340 � x1%(n%,c%)=z*x(n%) � y1%(n%,c%)=z*y(n%) � � � � n%=0 � 15 � � n% � c1%=(c%+n%)�16 � � x1%(k%,c1%),y1%(k%,c1%) � � m%=1 � k% � � x1%(m%,c1%),y1%(m%,c1%) � � � � �� � �
00000000 0d 00 0a 0f f4 20 20 20 20 20 3e 53 74 61 72 0d |..... >Star.| 00000010 00 14 12 f4 20 42 79 20 20 4a 61 6e 20 56 69 62 |.... By Jan Vib| 00000020 65 0d 00 1e 19 f4 20 46 6f 72 20 33 32 2d 62 69 |e..... For 32-bi| 00000030 74 20 6d 61 63 68 69 6e 65 73 0d 00 28 1a f4 20 |t machines..(.. | 00000040 28 63 29 20 41 55 20 46 65 62 72 75 61 72 79 20 |(c) AU February | 00000050 31 39 39 34 0d 00 32 05 3a 0d 00 3c 09 eb 20 31 |1994..2.:..<.. 1| 00000060 33 37 0d 00 46 07 eb 20 39 0d 00 50 0e c8 91 20 |37..F.. 9..P... | 00000070 36 34 30 2c 35 31 32 0d 00 5a 05 87 0d 00 64 07 |640,512..Z....d.| 00000080 73 3d 31 0d 00 6e 08 61 25 3d 30 0d 00 78 08 63 |s=1..n.a%=0..x.c| 00000090 25 3d 30 0d 00 82 09 6b 25 3d 31 30 0d 00 8c 0d |%=0....k%=10....| 000000a0 73 25 3d 33 36 30 2f 6b 25 0d 00 96 27 de 20 78 |s%=360/k%...'. x| 000000b0 28 6b 25 29 2c 79 28 6b 25 29 2c 78 31 25 28 6b |(k%),y(k%),x1%(k| 000000c0 25 2c 31 35 29 2c 79 31 25 28 6b 25 2c 31 35 29 |%,15),y1%(k%,15)| 000000d0 0d 00 a0 04 0d 00 aa 0f e3 20 6e 25 3d 31 20 b8 |......... n%=1 .| 000000e0 20 6b 25 0d 00 b4 0f 20 74 3d b2 28 73 25 2a 6e | k%.... t=.(s%*n| 000000f0 25 29 0d 00 be 0d 20 78 28 6e 25 29 3d b5 74 0d |%).... x(n%)=.t.| 00000100 00 c8 0d 20 79 28 6e 25 29 3d 9b 74 0d 00 d2 05 |... y(n%)=.t....| 00000110 ed 0d 00 dc 0f e3 20 6e 25 3d 31 20 b8 20 31 35 |...... n%=1 . 15| 00000120 0d 00 e6 1c 20 fb 20 6e 25 2c 31 36 2a 6e 25 2c |.... . n%,16*n%,| 00000130 30 2c 31 36 2a 28 31 36 2d 6e 25 29 0d 00 f0 05 |0,16*(16-n%)....| 00000140 ed 0d 00 fa 04 0d 01 04 27 ee 20 85 20 c8 99 20 |........'. . .. | 00000150 36 2c 31 31 32 2c 73 3a f1 f6 24 22 20 61 74 20 |6,112,s:..$" at | 00000160 6c 69 6e 65 20 22 3b 9e 3a ee 3a e0 0d 01 0e 04 |line ";.:.:.....| 00000170 0d 01 18 05 f5 0d 01 22 07 20 c8 96 0d 01 2c 0f |.......". ....,.| 00000180 20 c8 99 20 36 2c 31 31 32 2c 73 0d 01 36 0a 20 | .. 6,112,s..6. | 00000190 73 3d 33 2d 73 0d 01 40 0f 20 c8 99 20 36 2c 31 |s=3-s..@. .. 6,1| 000001a0 31 33 2c 73 0d 01 4a 06 20 db 0d 01 54 14 20 61 |13,s..J. ...T. a| 000001b0 25 3d 28 61 25 2b 38 29 20 83 20 33 36 30 0d 01 |%=(a%+8) . 360..| 000001c0 5e 13 20 63 25 3d 28 63 25 2b 31 29 20 83 20 31 |^. c%=(c%+1) . 1| 000001d0 36 0d 01 68 1d 20 7a 3d 31 36 30 2a b5 b2 28 35 |6..h. z=160*..(5| 000001e0 2a 73 25 2a 6b 25 2b 61 25 29 2b 33 34 30 0d 01 |*s%*k%+a%)+340..| 000001f0 72 16 20 ec 20 7a 2a 78 28 6b 25 29 2c 7a 2a 79 |r. . z*x(k%),z*y| 00000200 28 6b 25 29 0d 01 7c 10 20 e3 20 6e 25 3d 31 20 |(k%)..|. . n%=1 | 00000210 b8 20 6b 25 0d 01 86 1e 20 20 7a 3d 31 36 30 2a |. k%.... z=160*| 00000220 b5 b2 28 35 2a 73 25 2a 6e 25 2b 61 25 29 2b 33 |..(5*s%*n%+a%)+3| 00000230 34 30 0d 01 90 18 20 20 78 31 25 28 6e 25 2c 63 |40.... x1%(n%,c| 00000240 25 29 3d 7a 2a 78 28 6e 25 29 0d 01 9a 18 20 20 |%)=z*x(n%).... | 00000250 79 31 25 28 6e 25 2c 63 25 29 3d 7a 2a 79 28 6e |y1%(n%,c%)=z*y(n| 00000260 25 29 0d 01 a4 06 20 ed 0d 01 ae 10 20 e3 20 6e |%).... ..... . n| 00000270 25 3d 30 20 b8 20 31 35 0d 01 b8 0a 20 20 e6 20 |%=0 . 15.... . | 00000280 6e 25 0d 01 c2 14 20 20 63 31 25 3d 28 63 25 2b |n%.... c1%=(c%+| 00000290 6e 25 29 83 31 36 0d 01 cc 1f 20 20 ec 20 78 31 |n%).16.... . x1| 000002a0 25 28 6b 25 2c 63 31 25 29 2c 79 31 25 28 6b 25 |%(k%,c1%),y1%(k%| 000002b0 2c 63 31 25 29 0d 01 d6 11 20 20 e3 20 6d 25 3d |,c1%).... . m%=| 000002c0 31 20 b8 20 6b 25 0d 01 e0 20 20 20 20 df 20 78 |1 . k%... . x| 000002d0 31 25 28 6d 25 2c 63 31 25 29 2c 79 31 25 28 6d |1%(m%,c1%),y1%(m| 000002e0 25 2c 63 31 25 29 0d 01 ea 07 20 20 ed 0d 01 f4 |%,c1%).... ....| 000002f0 06 20 ed 0d 01 fe 07 fd 20 a3 0d ff |. ...... ...| 000002fc