Home » Archimedes archive » Archimedes World » AW-1994-02-Disc1.adf » Disk1Feb94 » !AWFeb94/Goodies/Basic/Circles/Flower

!AWFeb94/Goodies/Basic/Circles/Flower

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 » Archimedes World » AW-1994-02-Disc1.adf » Disk1Feb94
Filename: !AWFeb94/Goodies/Basic/Circles/Flower
Read OK:
File size: 01A5 bytes
Load address: 0000
Exec address: 0000
File contents
    1MODE MODE
    2LIBRARY "PathLib:OS_units.Paths"
    3LIBRARY "PathLib:OS_units.Transforms"
    4ORIGIN 640,512 
    5circle%=FNPath_CreateCircle(200,0,200)
    6PROCCreateTransform
    7PROCDrawObjects
    8END
    9
   10DEF PROCCreateTransform
   11 PROCPath_CreateTransform(rotate%)
   12 PROCPath_Rotation(rotate%,PI/3)
   13ENDPROC
   14
   15DEF PROCDrawObjects
   16  FOR i%=1 TO 6
   17   GCOL 3,RND(7)
   18   SYS "Draw_Fill",circle%,,,256
   19   PROCPath_Transform(circle%,rotate%)
   20  NEXT   
   21ENDPROC
   22
   23
� �
ț "PathLib:OS_units.Paths"
$ț "PathLib:OS_units.Transforms"
ȑ 640,512 
)circle%=�Path_CreateCircle(200,0,200)
�CreateTransform
�DrawObjects
�
	

� �CreateTransform
# �Path_CreateTransform(rotate%)
  �Path_Rotation(rotate%,�/3)

�

� �DrawObjects
  � i%=1 � 6
   � 3,�(7)
#   ș "Draw_Fill",circle%,,,256
'   �Path_Transform(circle%,rotate%)

  �   
�


�
00000000  0d 00 01 07 eb 20 eb 0d  00 02 1f c8 9b 20 22 50  |..... ....... "P|
00000010  61 74 68 4c 69 62 3a 4f  53 5f 75 6e 69 74 73 2e  |athLib:OS_units.|
00000020  50 61 74 68 73 22 0d 00  03 24 c8 9b 20 22 50 61  |Paths"...$.. "Pa|
00000030  74 68 4c 69 62 3a 4f 53  5f 75 6e 69 74 73 2e 54  |thLib:OS_units.T|
00000040  72 61 6e 73 66 6f 72 6d  73 22 0d 00 04 0f c8 91  |ransforms"......|
00000050  20 36 34 30 2c 35 31 32  20 0d 00 05 29 63 69 72  | 640,512 ...)cir|
00000060  63 6c 65 25 3d a4 50 61  74 68 5f 43 72 65 61 74  |cle%=.Path_Creat|
00000070  65 43 69 72 63 6c 65 28  32 30 30 2c 30 2c 32 30  |eCircle(200,0,20|
00000080  30 29 0d 00 06 14 f2 43  72 65 61 74 65 54 72 61  |0).....CreateTra|
00000090  6e 73 66 6f 72 6d 0d 00  07 10 f2 44 72 61 77 4f  |nsform.....DrawO|
000000a0  62 6a 65 63 74 73 0d 00  08 05 e0 0d 00 09 04 0d  |bjects..........|
000000b0  00 0a 16 dd 20 f2 43 72  65 61 74 65 54 72 61 6e  |.... .CreateTran|
000000c0  73 66 6f 72 6d 0d 00 0b  23 20 f2 50 61 74 68 5f  |sform...# .Path_|
000000d0  43 72 65 61 74 65 54 72  61 6e 73 66 6f 72 6d 28  |CreateTransform(|
000000e0  72 6f 74 61 74 65 25 29  0d 00 0c 20 20 f2 50 61  |rotate%)...  .Pa|
000000f0  74 68 5f 52 6f 74 61 74  69 6f 6e 28 72 6f 74 61  |th_Rotation(rota|
00000100  74 65 25 2c af 2f 33 29  0d 00 0d 05 e1 0d 00 0e  |te%,./3)........|
00000110  04 0d 00 0f 12 dd 20 f2  44 72 61 77 4f 62 6a 65  |...... .DrawObje|
00000120  63 74 73 0d 00 10 10 20  20 e3 20 69 25 3d 31 20  |cts....  . i%=1 |
00000130  b8 20 36 0d 00 11 0f 20  20 20 e6 20 33 2c b3 28  |. 6....   . 3,.(|
00000140  37 29 0d 00 12 23 20 20  20 c8 99 20 22 44 72 61  |7)...#   .. "Dra|
00000150  77 5f 46 69 6c 6c 22 2c  63 69 72 63 6c 65 25 2c  |w_Fill",circle%,|
00000160  2c 2c 32 35 36 0d 00 13  27 20 20 20 f2 50 61 74  |,,256...'   .Pat|
00000170  68 5f 54 72 61 6e 73 66  6f 72 6d 28 63 69 72 63  |h_Transform(circ|
00000180  6c 65 25 2c 72 6f 74 61  74 65 25 29 0d 00 14 0a  |le%,rotate%)....|
00000190  20 20 ed 20 20 20 0d 00  15 05 e1 0d 00 16 04 0d  |  .   ..........|
000001a0  00 17 04 0d ff                                    |.....|
000001a5