Home » Archimedes archive » Acorn User » AU 1998-08.adf » Regulars » StarInfo/Stoner/Splata2

StarInfo/Stoner/Splata2

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 1998-08.adf » Regulars
Filename: StarInfo/Stoner/Splata2
Read OK:
File size: 01D7 bytes
Load address: 0000
Exec address: 0000
File contents
    1REM Spata Automatic - for lazy people!
    2REM by Nigel Stoner 1997
    3SYS "OS_SWINumberFromString",,"ColourTrans_SetGCOL" TO col%
    4MODE13:OFF
    5t%=RND(-TIME):GCOL0TINT255
    6spread%=256
    7FOR a%=0 TO 1000:ORIGIN RND(1280),RND(1024):red%=RND(255):grn%=RND(255):blu%=RND(255):SYS col%,((red%<<8)+(grn%<<16)+(blu%<<24)),,,&100:RECTANGLEFILL0,0,RND(128):NEXT a%
    8REPEAT:ORIGINRND(1280),RND(1024):FOR r%=96 TO spread%STEP12:size%=RND(16)+16:FORa%=1TO360STEP 8:s=SINRAD(a%):c=COSRAD(a%):x=(r%-4)*s:y=(r%-4)*c:x2=r%*s:y2=r%*c:RECTANGLEx,y,size%TOx2,y2:NEXTa%,r%:UNTIL FALSE
(� Spata Automatic - for lazy people!
� by Nigel Stoner 1997
=ș "OS_SWINumberFromString",,"ColourTrans_SetGCOL" � col%
	�13:�
t%=�(-�):�0Ȝ255
spread%=256
�� a%=0 � 1000:ȑ �(1280),�(1024):red%=�(255):grn%=�(255):blu%=�(255):ș col%,((red%<<8)+(grn%<<16)+(blu%<<24)),,,&100:ȓȐ0,0,�(128):� a%
��:ȑ�(1280),�(1024):� r%=96 � spread%�12:size%=�(16)+16:�a%=1�360� 8:s=��(a%):c=��(a%):x=(r%-4)*s:y=(r%-4)*c:x2=r%*s:y2=r%*c:ȓx,y,size%�x2,y2:�a%,r%:� �
�
00000000  0d 00 01 28 f4 20 53 70  61 74 61 20 41 75 74 6f  |...(. Spata Auto|
00000010  6d 61 74 69 63 20 2d 20  66 6f 72 20 6c 61 7a 79  |matic - for lazy|
00000020  20 70 65 6f 70 6c 65 21  0d 00 02 1a f4 20 62 79  | people!..... by|
00000030  20 4e 69 67 65 6c 20 53  74 6f 6e 65 72 20 31 39  | Nigel Stoner 19|
00000040  39 37 0d 00 03 3d c8 99  20 22 4f 53 5f 53 57 49  |97...=.. "OS_SWI|
00000050  4e 75 6d 62 65 72 46 72  6f 6d 53 74 72 69 6e 67  |NumberFromString|
00000060  22 2c 2c 22 43 6f 6c 6f  75 72 54 72 61 6e 73 5f  |",,"ColourTrans_|
00000070  53 65 74 47 43 4f 4c 22  20 b8 20 63 6f 6c 25 0d  |SetGCOL" . col%.|
00000080  00 04 09 eb 31 33 3a 87  0d 00 05 14 74 25 3d b3  |....13:.....t%=.|
00000090  28 2d 91 29 3a e6 30 c8  9c 32 35 35 0d 00 06 0f  |(-.):.0..255....|
000000a0  73 70 72 65 61 64 25 3d  32 35 36 0d 00 07 8d e3  |spread%=256.....|
000000b0  20 61 25 3d 30 20 b8 20  31 30 30 30 3a c8 91 20  | a%=0 . 1000:.. |
000000c0  b3 28 31 32 38 30 29 2c  b3 28 31 30 32 34 29 3a  |.(1280),.(1024):|
000000d0  72 65 64 25 3d b3 28 32  35 35 29 3a 67 72 6e 25  |red%=.(255):grn%|
000000e0  3d b3 28 32 35 35 29 3a  62 6c 75 25 3d b3 28 32  |=.(255):blu%=.(2|
000000f0  35 35 29 3a c8 99 20 63  6f 6c 25 2c 28 28 72 65  |55):.. col%,((re|
00000100  64 25 3c 3c 38 29 2b 28  67 72 6e 25 3c 3c 31 36  |d%<<8)+(grn%<<16|
00000110  29 2b 28 62 6c 75 25 3c  3c 32 34 29 29 2c 2c 2c  |)+(blu%<<24)),,,|
00000120  26 31 30 30 3a c8 93 c8  90 30 2c 30 2c b3 28 31  |&100:....0,0,.(1|
00000130  32 38 29 3a ed 20 61 25  0d 00 08 9d f5 3a c8 91  |28):. a%.....:..|
00000140  b3 28 31 32 38 30 29 2c  b3 28 31 30 32 34 29 3a  |.(1280),.(1024):|
00000150  e3 20 72 25 3d 39 36 20  b8 20 73 70 72 65 61 64  |. r%=96 . spread|
00000160  25 88 31 32 3a 73 69 7a  65 25 3d b3 28 31 36 29  |%.12:size%=.(16)|
00000170  2b 31 36 3a e3 61 25 3d  31 b8 33 36 30 88 20 38  |+16:.a%=1.360. 8|
00000180  3a 73 3d b5 b2 28 61 25  29 3a 63 3d 9b b2 28 61  |:s=..(a%):c=..(a|
00000190  25 29 3a 78 3d 28 72 25  2d 34 29 2a 73 3a 79 3d  |%):x=(r%-4)*s:y=|
000001a0  28 72 25 2d 34 29 2a 63  3a 78 32 3d 72 25 2a 73  |(r%-4)*c:x2=r%*s|
000001b0  3a 79 32 3d 72 25 2a 63  3a c8 93 78 2c 79 2c 73  |:y2=r%*c:..x,y,s|
000001c0  69 7a 65 25 b8 78 32 2c  79 32 3a ed 61 25 2c 72  |ize%.x2,y2:.a%,r|
000001d0  25 3a fd 20 a3 0d ff                              |%:. ...|
000001d7