Home » Archimedes archive » Acorn User » AU 1994-Xmas.adf » Programs » StarInfo/December/Van/POPJUL
StarInfo/December/Van/POPJUL
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-Xmas.adf » Programs |
Filename: | StarInfo/December/Van/POPJUL |
Read OK: | ✔ |
File size: | 035C bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
10REM >POPJUL 20REM JEAN VAN MOURIK MILLCOTTAGE DERWYDD AMMANFORD DYFED SA183LQ U.K. 50MODE9:OFF:C%=4:ORIGIN640,512:C=RAD90:D=.00001 60FORX=0TO15:READ R,G,B:COLOURX,R,G,B:NEXT 70PRINT" POPCORNJULIA" 90REM IMAGE VARIABLES 100width=1.65:height=1.65:X=width/640:Y=height/512:M%=200 110f=.06:g=.08:REM INPUT "VALUE OF CONSTANT f (DEFAULT .06)";f:IF f=0 f=.06 120REM INPUT "VALUE OF CONSTANT g (DEFAULT .08)";g:IF g=0 g=.08 130PRINT"f= ";f:PRINT"g= ";g 140: 150REM MAIN LOOP 160FORX%=-640TO0STEPC%:FORY%=-512TO512STEPC%:x=X*X%:y=Y*Y% 170FORN%=0TOM%:z=x-f*SIN(y+TANy):y=y-g*SIN(x+TANx):x=z:IF x*x+y*y<3NEXT:N%=-1 175z=x-f*SIN(y+TANy):y=y-g*SIN(x+TANx):x=z:IF x*x+y*y<3 NEXT 180GCOLN%MOD15+1:POINT X%,Y%:POINT -X%,-Y%:NEXTY%:NEXT:END 190 280DATA 0,0,0,192,0,240,144,48,240,96,96,240,48,144,240,0,192,240,0,240,192,48,240,144,96,240,96,144,240,48,192,240,0,240,192,0,240,144,48,240,96,96,240,48,144,240,0,192 1700FOR N%=0TOM%:IF ABS(ABSx-C)<D OR ABS(ABSy-C)<D NEXTY%,
� >POPJUL G� JEAN VAN MOURIK MILLCOTTAGE DERWYDD AMMANFORD DYFED SA183LQ U.K. 2&�9:�:C%=4:ȑ640,512:C=�90:D=.00001 <�X=0�15:� R,G,B:�X,R,G,B:� F%�" POPCORNJULIA" Z� IMAGE VARIABLES d:width=1.65:height=1.65:X=width/640:Y=height/512:M%=200 nJf=.06:g=.08:� INPUT "VALUE OF CONSTANT f (DEFAULT .06)";f:IF f=0 f=.06 x>� INPUT "VALUE OF CONSTANT g (DEFAULT .08)";g:IF g=0 g=.08 ��"f= ";f:�"g= ";g �: �� MAIN LOOP �/�X%=-640�0�C%:�Y%=-512�512�C%:x=X*X%:y=Y*Y% �?�N%=0�M%:z=x-f*�(y+�y):y=y-g*�(x+�x):x=z:� x*x+y*y<3�:N%=-1 �1z=x-f*�(y+�y):y=y-g*�(x+�x):x=z:� x*x+y*y<3 � �(�N%�15+1:Ȓ X%,Y%:Ȓ -X%,-Y%:�Y%:�:� � �� 0,0,0,192,0,240,144,48,240,96,96,240,48,144,240,0,192,240,0,240,192,48,240,144,96,240,96,144,240,48,192,240,0,240,192,0,240,144,48,240,96,96,240,48,144,240,0,192 �*� N%=0�M%:� �(�x-C)<D � �(�y-C)<D �Y%, �
00000000 0d 00 0a 0d f4 20 3e 50 4f 50 4a 55 4c 0d 00 14 |..... >POPJUL...| 00000010 47 f4 20 4a 45 41 4e 20 56 41 4e 20 4d 4f 55 52 |G. JEAN VAN MOUR| 00000020 49 4b 20 4d 49 4c 4c 43 4f 54 54 41 47 45 20 44 |IK MILLCOTTAGE D| 00000030 45 52 57 59 44 44 20 41 4d 4d 41 4e 46 4f 52 44 |ERWYDD AMMANFORD| 00000040 20 44 59 46 45 44 20 53 41 31 38 33 4c 51 20 20 | DYFED SA183LQ | 00000050 55 2e 4b 2e 0d 00 32 26 eb 39 3a 87 3a 43 25 3d |U.K...2&.9:.:C%=| 00000060 34 3a c8 91 36 34 30 2c 35 31 32 3a 43 3d b2 39 |4:..640,512:C=.9| 00000070 30 3a 44 3d 2e 30 30 30 30 31 0d 00 3c 1e e3 58 |0:D=.00001..<..X| 00000080 3d 30 b8 31 35 3a f3 20 52 2c 47 2c 42 3a fb 58 |=0.15:. R,G,B:.X| 00000090 2c 52 2c 47 2c 42 3a ed 0d 00 46 25 f1 22 20 20 |,R,G,B:...F%." | 000000a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | 000000b0 50 4f 50 43 4f 52 4e 4a 55 4c 49 41 22 0d 00 5a |POPCORNJULIA"..Z| 000000c0 15 f4 20 49 4d 41 47 45 20 56 41 52 49 41 42 4c |.. IMAGE VARIABL| 000000d0 45 53 0d 00 64 3a 77 69 64 74 68 3d 31 2e 36 35 |ES..d:width=1.65| 000000e0 3a 68 65 69 67 68 74 3d 31 2e 36 35 3a 58 3d 77 |:height=1.65:X=w| 000000f0 69 64 74 68 2f 36 34 30 3a 59 3d 68 65 69 67 68 |idth/640:Y=heigh| 00000100 74 2f 35 31 32 3a 4d 25 3d 32 30 30 0d 00 6e 4a |t/512:M%=200..nJ| 00000110 66 3d 2e 30 36 3a 67 3d 2e 30 38 3a f4 20 49 4e |f=.06:g=.08:. IN| 00000120 50 55 54 20 22 56 41 4c 55 45 20 4f 46 20 43 4f |PUT "VALUE OF CO| 00000130 4e 53 54 41 4e 54 20 66 20 28 44 45 46 41 55 4c |NSTANT f (DEFAUL| 00000140 54 20 2e 30 36 29 22 3b 66 3a 49 46 20 66 3d 30 |T .06)";f:IF f=0| 00000150 20 66 3d 2e 30 36 0d 00 78 3e f4 20 49 4e 50 55 | f=.06..x>. INPU| 00000160 54 20 22 56 41 4c 55 45 20 4f 46 20 43 4f 4e 53 |T "VALUE OF CONS| 00000170 54 41 4e 54 20 67 20 28 44 45 46 41 55 4c 54 20 |TANT g (DEFAULT | 00000180 2e 30 38 29 22 3b 67 3a 49 46 20 67 3d 30 20 67 |.08)";g:IF g=0 g| 00000190 3d 2e 30 38 0d 00 82 15 f1 22 66 3d 20 22 3b 66 |=.08....."f= ";f| 000001a0 3a f1 22 67 3d 20 22 3b 67 0d 00 8c 05 3a 0d 00 |:."g= ";g....:..| 000001b0 96 0f f4 20 4d 41 49 4e 20 4c 4f 4f 50 0d 00 a0 |... MAIN LOOP...| 000001c0 2f e3 58 25 3d 2d 36 34 30 b8 30 88 43 25 3a e3 |/.X%=-640.0.C%:.| 000001d0 59 25 3d 2d 35 31 32 b8 35 31 32 88 43 25 3a 78 |Y%=-512.512.C%:x| 000001e0 3d 58 2a 58 25 3a 79 3d 59 2a 59 25 0d 00 aa 3f |=X*X%:y=Y*Y%...?| 000001f0 e3 4e 25 3d 30 b8 4d 25 3a 7a 3d 78 2d 66 2a b5 |.N%=0.M%:z=x-f*.| 00000200 28 79 2b b7 79 29 3a 79 3d 79 2d 67 2a b5 28 78 |(y+.y):y=y-g*.(x| 00000210 2b b7 78 29 3a 78 3d 7a 3a e7 20 78 2a 78 2b 79 |+.x):x=z:. x*x+y| 00000220 2a 79 3c 33 ed 3a 4e 25 3d 2d 31 0d 00 af 31 7a |*y<3.:N%=-1...1z| 00000230 3d 78 2d 66 2a b5 28 79 2b b7 79 29 3a 79 3d 79 |=x-f*.(y+.y):y=y| 00000240 2d 67 2a b5 28 78 2b b7 78 29 3a 78 3d 7a 3a e7 |-g*.(x+.x):x=z:.| 00000250 20 78 2a 78 2b 79 2a 79 3c 33 20 ed 0d 00 b4 28 | x*x+y*y<3 ....(| 00000260 e6 4e 25 83 31 35 2b 31 3a c8 92 20 58 25 2c 59 |.N%.15+1:.. X%,Y| 00000270 25 3a c8 92 20 2d 58 25 2c 2d 59 25 3a ed 59 25 |%:.. -X%,-Y%:.Y%| 00000280 3a ed 3a e0 0d 00 be 05 20 0d 01 18 a7 dc 20 30 |:.:..... ..... 0| 00000290 2c 30 2c 30 2c 31 39 32 2c 30 2c 32 34 30 2c 31 |,0,0,192,0,240,1| 000002a0 34 34 2c 34 38 2c 32 34 30 2c 39 36 2c 39 36 2c |44,48,240,96,96,| 000002b0 32 34 30 2c 34 38 2c 31 34 34 2c 32 34 30 2c 30 |240,48,144,240,0| 000002c0 2c 31 39 32 2c 32 34 30 2c 30 2c 32 34 30 2c 31 |,192,240,0,240,1| 000002d0 39 32 2c 34 38 2c 32 34 30 2c 31 34 34 2c 39 36 |92,48,240,144,96| 000002e0 2c 32 34 30 2c 39 36 2c 31 34 34 2c 32 34 30 2c |,240,96,144,240,| 000002f0 34 38 2c 31 39 32 2c 32 34 30 2c 30 2c 32 34 30 |48,192,240,0,240| 00000300 2c 31 39 32 2c 30 2c 32 34 30 2c 31 34 34 2c 34 |,192,0,240,144,4| 00000310 38 2c 32 34 30 2c 39 36 2c 39 36 2c 32 34 30 2c |8,240,96,96,240,| 00000320 34 38 2c 31 34 34 2c 32 34 30 2c 30 2c 31 39 32 |48,144,240,0,192| 00000330 0d 06 a4 2a e3 20 4e 25 3d 30 b8 4d 25 3a e7 20 |...*. N%=0.M%:. | 00000340 94 28 94 78 2d 43 29 3c 44 20 84 20 94 28 94 79 |.(.x-C)<D . .(.y| 00000350 2d 43 29 3c 44 20 ed 59 25 2c 0d ff |-C)<D .Y%,..| 0000035c