Home » Archimedes archive » Acorn User » AU 1994-02.adf » !StarInfo_StarInfo » One-Liners/StarBursts

One-Liners/StarBursts

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: One-Liners/StarBursts
Read OK:
File size: 012A bytes
Load address: 0000
Exec address: 0000
File contents
    1REM>StarBursts by Richard Anderson  (C) Acorn User February 1994
    2MODE15:DIM c(99),r(99),m(99),x(99),y(99):OFF:a=20:b=0:REPEAT:c(a)=RND(256):GCOLc(a) TINT c(a):x(a)=RND(1280):y(a)=RND(1024):r(a)=RND(300):m(a)=RND(100):FORc=a TO b STEP b-a:ORIGINx(c),y(c):FORi=0TO360:f=COS(m(c)*i)*r(c):POINTf*COSi,f*SINi:NEXT:GCOL0TINT0:NEXT:a=(a+1)MOD100:b=(b+1)MOD100:UNTIL0
B�>StarBursts by Richard Anderson  (C) Acorn User February 1994
��15:� c(99),r(99),m(99),x(99),y(99):�:a=20:b=0:�:c(a)=�(256):�c(a) Ȝ c(a):x(a)=�(1280):y(a)=�(1024):r(a)=�(300):m(a)=�(100):�c=a � b � b-a:ȑx(c),y(c):�i=0�360:f=�(m(c)*i)*r(c):Ȓf*�i,f*�i:�:�0Ȝ0:�:a=(a+1)�100:b=(b+1)�100:�0
�
00000000  0d 00 01 42 f4 3e 53 74  61 72 42 75 72 73 74 73  |...B.>StarBursts|
00000010  20 62 79 20 52 69 63 68  61 72 64 20 41 6e 64 65  | by Richard Ande|
00000020  72 73 6f 6e 20 20 28 43  29 20 41 63 6f 72 6e 20  |rson  (C) Acorn |
00000030  55 73 65 72 20 46 65 62  72 75 61 72 79 20 31 39  |User February 19|
00000040  39 34 0d 00 02 e6 eb 31  35 3a de 20 63 28 39 39  |94.....15:. c(99|
00000050  29 2c 72 28 39 39 29 2c  6d 28 39 39 29 2c 78 28  |),r(99),m(99),x(|
00000060  39 39 29 2c 79 28 39 39  29 3a 87 3a 61 3d 32 30  |99),y(99):.:a=20|
00000070  3a 62 3d 30 3a f5 3a 63  28 61 29 3d b3 28 32 35  |:b=0:.:c(a)=.(25|
00000080  36 29 3a e6 63 28 61 29  20 c8 9c 20 63 28 61 29  |6):.c(a) .. c(a)|
00000090  3a 78 28 61 29 3d b3 28  31 32 38 30 29 3a 79 28  |:x(a)=.(1280):y(|
000000a0  61 29 3d b3 28 31 30 32  34 29 3a 72 28 61 29 3d  |a)=.(1024):r(a)=|
000000b0  b3 28 33 30 30 29 3a 6d  28 61 29 3d b3 28 31 30  |.(300):m(a)=.(10|
000000c0  30 29 3a e3 63 3d 61 20  b8 20 62 20 88 20 62 2d  |0):.c=a . b . b-|
000000d0  61 3a c8 91 78 28 63 29  2c 79 28 63 29 3a e3 69  |a:..x(c),y(c):.i|
000000e0  3d 30 b8 33 36 30 3a 66  3d 9b 28 6d 28 63 29 2a  |=0.360:f=.(m(c)*|
000000f0  69 29 2a 72 28 63 29 3a  c8 92 66 2a 9b 69 2c 66  |i)*r(c):..f*.i,f|
00000100  2a b5 69 3a ed 3a e6 30  c8 9c 30 3a ed 3a 61 3d  |*.i:.:.0..0:.:a=|
00000110  28 61 2b 31 29 83 31 30  30 3a 62 3d 28 62 2b 31  |(a+1).100:b=(b+1|
00000120  29 83 31 30 30 3a fd 30  0d ff                    |).100:.0..|
0000012a