Home » Archimedes archive » Acorn User » AU 1997-09 B.adf » Regulars » StarInfo/Vernon/!FontTrix/Demos/rand3
StarInfo/Vernon/!FontTrix/Demos/rand3
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 1997-09 B.adf » Regulars |
Filename: | StarInfo/Vernon/!FontTrix/Demos/rand3 |
Read OK: | ✔ |
File size: | 0224 bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
10REM > demo 20LIBRARY "<Font_SR$Dir>.Procs" 30PROCset_fontmax(100,100) 40PROCinitialise(63,192) 50font2=FNopen_font("Homerton.Medium.Oblique", 30,30, 2,192, 63,192) 60 70FOR L%=1 TO 6 80 FOR loop%=1 TO 6 90 font1=FNopen_font("Trinity.Medium", 30,30, RND(63),192, 63,192) 100 PROCfont_SR(font1,"*Acorn User*",RND(1000),RND(900),RND(120)-60,RND(0)*2,RND(0)*2) 110 PROCclose_font(font1) 120 NEXT 130 GCOL 14 TINT 192 140 x%=RND(1200): y%=RND(800) 150 CIRCLEFILL x%,y%,230 160 PROCfont_scale(font2,"*Acorn User*",x%-220,y%-20,1,1) 170NEXT 180 190PROCclose_font(font2) 200PROCreset_fontmax 210END
� > demo ț "<Font_SR$Dir>.Procs" �set_fontmax(100,100) (�initialise(63,192) 2Efont2=�open_font("Homerton.Medium.Oblique", 30,30, 2,192, 63,192) < F� L%=1 � 6 P � loop%=1 � 6 ZD font1=�open_font("Trinity.Medium", 30,30, �(63),192, 63,192) dM �font_SR(font1,"*Acorn User*",�(1000),�(900),�(120)-60,�(0)*2,�(0)*2) n �close_font(font1) x � � � 14 Ȝ 192 � x%=�(1200): y%=�(800) � ȏȐ x%,y%,230 �8 �font_scale(font2,"*Acorn User*",x%-220,y%-20,1,1) �� � ��close_font(font2) ��reset_fontmax �� �
00000000 0d 00 0a 0c f4 20 3e 20 64 65 6d 6f 0d 00 14 1c |..... > demo....| 00000010 c8 9b 20 22 3c 46 6f 6e 74 5f 53 52 24 44 69 72 |.. "<Font_SR$Dir| 00000020 3e 2e 50 72 6f 63 73 22 0d 00 1e 19 f2 73 65 74 |>.Procs".....set| 00000030 5f 66 6f 6e 74 6d 61 78 28 31 30 30 2c 31 30 30 |_fontmax(100,100| 00000040 29 0d 00 28 17 f2 69 6e 69 74 69 61 6c 69 73 65 |)..(..initialise| 00000050 28 36 33 2c 31 39 32 29 0d 00 32 45 66 6f 6e 74 |(63,192)..2Efont| 00000060 32 3d a4 6f 70 65 6e 5f 66 6f 6e 74 28 22 48 6f |2=.open_font("Ho| 00000070 6d 65 72 74 6f 6e 2e 4d 65 64 69 75 6d 2e 4f 62 |merton.Medium.Ob| 00000080 6c 69 71 75 65 22 2c 20 33 30 2c 33 30 2c 20 32 |lique", 30,30, 2| 00000090 2c 31 39 32 2c 20 36 33 2c 31 39 32 29 0d 00 3c |,192, 63,192)..<| 000000a0 04 0d 00 46 0e e3 20 4c 25 3d 31 20 b8 20 36 0d |...F.. L%=1 . 6.| 000000b0 00 50 13 20 20 e3 20 6c 6f 6f 70 25 3d 31 20 b8 |.P. . loop%=1 .| 000000c0 20 36 0d 00 5a 44 20 20 20 20 66 6f 6e 74 31 3d | 6..ZD font1=| 000000d0 a4 6f 70 65 6e 5f 66 6f 6e 74 28 22 54 72 69 6e |.open_font("Trin| 000000e0 69 74 79 2e 4d 65 64 69 75 6d 22 2c 20 33 30 2c |ity.Medium", 30,| 000000f0 33 30 2c 20 b3 28 36 33 29 2c 31 39 32 2c 20 36 |30, .(63),192, 6| 00000100 33 2c 31 39 32 29 0d 00 64 4d 20 20 20 20 f2 66 |3,192)..dM .f| 00000110 6f 6e 74 5f 53 52 28 66 6f 6e 74 31 2c 22 2a 41 |ont_SR(font1,"*A| 00000120 63 6f 72 6e 20 55 73 65 72 2a 22 2c b3 28 31 30 |corn User*",.(10| 00000130 30 30 29 2c b3 28 39 30 30 29 2c b3 28 31 32 30 |00),.(900),.(120| 00000140 29 2d 36 30 2c b3 28 30 29 2a 32 2c b3 28 30 29 |)-60,.(0)*2,.(0)| 00000150 2a 32 29 0d 00 6e 1a 20 20 20 20 f2 63 6c 6f 73 |*2)..n. .clos| 00000160 65 5f 66 6f 6e 74 28 66 6f 6e 74 31 29 0d 00 78 |e_font(font1)..x| 00000170 07 20 20 ed 0d 00 82 11 20 20 e6 20 31 34 20 c8 |. ..... . 14 .| 00000180 9c 20 31 39 32 0d 00 8c 1b 20 20 78 25 3d b3 28 |. 192.... x%=.(| 00000190 31 32 30 30 29 3a 20 79 25 3d b3 28 38 30 30 29 |1200): y%=.(800)| 000001a0 0d 00 96 14 20 20 c8 8f c8 90 20 78 25 2c 79 25 |.... .... x%,y%| 000001b0 2c 32 33 30 0d 00 a0 38 20 20 f2 66 6f 6e 74 5f |,230...8 .font_| 000001c0 73 63 61 6c 65 28 66 6f 6e 74 32 2c 22 2a 41 63 |scale(font2,"*Ac| 000001d0 6f 72 6e 20 55 73 65 72 2a 22 2c 78 25 2d 32 32 |orn User*",x%-22| 000001e0 30 2c 79 25 2d 32 30 2c 31 2c 31 29 0d 00 aa 05 |0,y%-20,1,1)....| 000001f0 ed 0d 00 b4 04 0d 00 be 16 f2 63 6c 6f 73 65 5f |..........close_| 00000200 66 6f 6e 74 28 66 6f 6e 74 32 29 0d 00 c8 12 f2 |font(font2).....| 00000210 72 65 73 65 74 5f 66 6f 6e 74 6d 61 78 0d 00 d2 |reset_fontmax...| 00000220 05 e0 0d ff |....| 00000224