Home » Archimedes archive » Acorn User » AU 1998-06 A.adf » Regulars » StarInfo/Stoner/Clouds
StarInfo/Stoner/Clouds
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-06 A.adf » Regulars |
Filename: | StarInfo/Stoner/Clouds |
Read OK: | ✔ |
File size: | 0242 bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
1REM Cloud Generator 2REM Gleaned from Splata and Twister 3REM by Nigel Stoner 1997 4 5MODE 9:OFF:SYS "OS_SWINumberFromString",,"ColourTrans_SetGCOL" TO col% 6 7FORa%=2TO15:COLOURa%,a%*15,a%*15,127+a%*8:NEXT:COLOUR0,64,128,32:COLOUR1,32,64,0:GCOL8:RECTANGLEFILL0,480,1276,542 8 9GCOL1:step%=32:FOR a%=64TO480STEP32:RECTANGLEFILL0,a%,1276,32-step%:step%-=2:NEXT 10 11REPEAT:step%=RND(16)+16:FORx%=512TO1024STEPstep%:RECTANGLE0,x%,1276,step%TORND(4)*-1,x%:step%+=8:NEXT:t%=TIME 12FORa%=0TO15:grey%=64*(SINRAD((16-a%)/2+t%)*SINRAD(a%*12+t%))+32*(COSRAD((20-a%)*7-t%)+COSRAD(a%*44+t%/5))+128:SYScol%,((grey%<<8)+(grey%<<16)+(255<<24)),,,&100:CIRCLEFILL1280,a%*24+788-grey%,32:NEXT:UNTILFALSE
� Cloud Generator %� Gleaned from Splata and Twister � by Nigel Stoner 1997 C� 9:�:ș "OS_SWINumberFromString",,"ColourTrans_SetGCOL" � col% U�a%=2�15:�a%,a%*15,a%*15,127+a%*8:�:�0,64,128,32:�1,32,64,0:�8:ȓȐ0,480,1276,542 @�1:step%=32:� a%=64�480�32:ȓȐ0,a%,1276,32-step%:step%-=2:� T�:step%=�(16)+16:�x%=512�1024�step%:ȓ0,x%,1276,step%��(4)*-1,x%:step%+=8:�:t%=� ��a%=0�15:grey%=64*(��((16-a%)/2+t%)*��(a%*12+t%))+32*(��((20-a%)*7-t%)+��(a%*44+t%/5))+128:școl%,((grey%<<8)+(grey%<<16)+(255<<24)),,,&100:ȏȐ1280,a%*24+788-grey%,32:�:�� �
00000000 0d 00 01 15 f4 20 43 6c 6f 75 64 20 47 65 6e 65 |..... Cloud Gene| 00000010 72 61 74 6f 72 0d 00 02 25 f4 20 47 6c 65 61 6e |rator...%. Glean| 00000020 65 64 20 66 72 6f 6d 20 53 70 6c 61 74 61 20 61 |ed from Splata a| 00000030 6e 64 20 54 77 69 73 74 65 72 0d 00 03 1a f4 20 |nd Twister..... | 00000040 62 79 20 4e 69 67 65 6c 20 53 74 6f 6e 65 72 20 |by Nigel Stoner | 00000050 31 39 39 37 0d 00 04 04 0d 00 05 43 eb 20 39 3a |1997.......C. 9:| 00000060 87 3a c8 99 20 22 4f 53 5f 53 57 49 4e 75 6d 62 |.:.. "OS_SWINumb| 00000070 65 72 46 72 6f 6d 53 74 72 69 6e 67 22 2c 2c 22 |erFromString",,"| 00000080 43 6f 6c 6f 75 72 54 72 61 6e 73 5f 53 65 74 47 |ColourTrans_SetG| 00000090 43 4f 4c 22 20 b8 20 63 6f 6c 25 0d 00 06 04 0d |COL" . col%.....| 000000a0 00 07 55 e3 61 25 3d 32 b8 31 35 3a fb 61 25 2c |..U.a%=2.15:.a%,| 000000b0 61 25 2a 31 35 2c 61 25 2a 31 35 2c 31 32 37 2b |a%*15,a%*15,127+| 000000c0 61 25 2a 38 3a ed 3a fb 30 2c 36 34 2c 31 32 38 |a%*8:.:.0,64,128| 000000d0 2c 33 32 3a fb 31 2c 33 32 2c 36 34 2c 30 3a e6 |,32:.1,32,64,0:.| 000000e0 38 3a c8 93 c8 90 30 2c 34 38 30 2c 31 32 37 36 |8:....0,480,1276| 000000f0 2c 35 34 32 0d 00 08 04 0d 00 09 40 e6 31 3a 73 |,542.......@.1:s| 00000100 74 65 70 25 3d 33 32 3a e3 20 61 25 3d 36 34 b8 |tep%=32:. a%=64.| 00000110 34 38 30 88 33 32 3a c8 93 c8 90 30 2c 61 25 2c |480.32:....0,a%,| 00000120 31 32 37 36 2c 33 32 2d 73 74 65 70 25 3a 73 74 |1276,32-step%:st| 00000130 65 70 25 2d 3d 32 3a ed 0d 00 0a 04 0d 00 0b 54 |ep%-=2:........T| 00000140 f5 3a 73 74 65 70 25 3d b3 28 31 36 29 2b 31 36 |.:step%=.(16)+16| 00000150 3a e3 78 25 3d 35 31 32 b8 31 30 32 34 88 73 74 |:.x%=512.1024.st| 00000160 65 70 25 3a c8 93 30 2c 78 25 2c 31 32 37 36 2c |ep%:..0,x%,1276,| 00000170 73 74 65 70 25 b8 b3 28 34 29 2a 2d 31 2c 78 25 |step%..(4)*-1,x%| 00000180 3a 73 74 65 70 25 2b 3d 38 3a ed 3a 74 25 3d 91 |:step%+=8:.:t%=.| 00000190 0d 00 0c b0 e3 61 25 3d 30 b8 31 35 3a 67 72 65 |.....a%=0.15:gre| 000001a0 79 25 3d 36 34 2a 28 b5 b2 28 28 31 36 2d 61 25 |y%=64*(..((16-a%| 000001b0 29 2f 32 2b 74 25 29 2a b5 b2 28 61 25 2a 31 32 |)/2+t%)*..(a%*12| 000001c0 2b 74 25 29 29 2b 33 32 2a 28 9b b2 28 28 32 30 |+t%))+32*(..((20| 000001d0 2d 61 25 29 2a 37 2d 74 25 29 2b 9b b2 28 61 25 |-a%)*7-t%)+..(a%| 000001e0 2a 34 34 2b 74 25 2f 35 29 29 2b 31 32 38 3a c8 |*44+t%/5))+128:.| 000001f0 99 63 6f 6c 25 2c 28 28 67 72 65 79 25 3c 3c 38 |.col%,((grey%<<8| 00000200 29 2b 28 67 72 65 79 25 3c 3c 31 36 29 2b 28 32 |)+(grey%<<16)+(2| 00000210 35 35 3c 3c 32 34 29 29 2c 2c 2c 26 31 30 30 3a |55<<24)),,,&100:| 00000220 c8 8f c8 90 31 32 38 30 2c 61 25 2a 32 34 2b 37 |....1280,a%*24+7| 00000230 38 38 2d 67 72 65 79 25 2c 33 32 3a ed 3a fd a3 |88-grey%,32:.:..| 00000240 0d ff |..| 00000242