Home » Archimedes archive » Acorn User » AU 1994-01.adf » !FEMS_App_FEMS_App » sims/SoftTube

sims/SoftTube

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-01.adf » !FEMS_App_FEMS_App
Filename: sims/SoftTube
Read OK:
File size: 0259 bytes
Load address: 0000
Exec address: 0000
File contents
FEMS2
/* floppy tube dropped on a hemisphere */

rendering {
 type dots
 resolution 320,256
 view -41,24               /* x-y rotation, elevation */
}
frame_aim 640
gravity 0,0,-600
time_div 1

solid { 
 create {
  type tube
  points 15,14,2           /* length,circum,wall thickness */
  size 8.8in,1.4in,0.63in  /* length, radius, wall thickness */
 }
 nearbonds { spring_const 30: range 2.25 }
 damping 2
 rotate 90,0,-6
 translate 0,0,6in
} 

background {
 create {
  type sphere
  points 12
  size 3.3in
 }
}

background {
 create {
  type sheet
  points 10
  size 20in
 }
 translate 0,0,-0.1in
}
00000000  46 45 4d 53 32 0a 2f 2a  20 66 6c 6f 70 70 79 20  |FEMS2./* floppy |
00000010  74 75 62 65 20 64 72 6f  70 70 65 64 20 6f 6e 20  |tube dropped on |
00000020  61 20 68 65 6d 69 73 70  68 65 72 65 20 2a 2f 0a  |a hemisphere */.|
00000030  0a 72 65 6e 64 65 72 69  6e 67 20 7b 0a 20 74 79  |.rendering {. ty|
00000040  70 65 20 64 6f 74 73 0a  20 72 65 73 6f 6c 75 74  |pe dots. resolut|
00000050  69 6f 6e 20 33 32 30 2c  32 35 36 0a 20 76 69 65  |ion 320,256. vie|
00000060  77 20 2d 34 31 2c 32 34  20 20 20 20 20 20 20 20  |w -41,24        |
00000070  20 20 20 20 20 20 20 2f  2a 20 78 2d 79 20 72 6f  |       /* x-y ro|
00000080  74 61 74 69 6f 6e 2c 20  65 6c 65 76 61 74 69 6f  |tation, elevatio|
00000090  6e 20 2a 2f 0a 7d 0a 66  72 61 6d 65 5f 61 69 6d  |n */.}.frame_aim|
000000a0  20 36 34 30 0a 67 72 61  76 69 74 79 20 30 2c 30  | 640.gravity 0,0|
000000b0  2c 2d 36 30 30 0a 74 69  6d 65 5f 64 69 76 20 31  |,-600.time_div 1|
000000c0  0a 0a 73 6f 6c 69 64 20  7b 20 0a 20 63 72 65 61  |..solid { . crea|
000000d0  74 65 20 7b 0a 20 20 74  79 70 65 20 74 75 62 65  |te {.  type tube|
000000e0  0a 20 20 70 6f 69 6e 74  73 20 31 35 2c 31 34 2c  |.  points 15,14,|
000000f0  32 20 20 20 20 20 20 20  20 20 20 20 2f 2a 20 6c  |2           /* l|
00000100  65 6e 67 74 68 2c 63 69  72 63 75 6d 2c 77 61 6c  |ength,circum,wal|
00000110  6c 20 74 68 69 63 6b 6e  65 73 73 20 2a 2f 0a 20  |l thickness */. |
00000120  20 73 69 7a 65 20 38 2e  38 69 6e 2c 31 2e 34 69  | size 8.8in,1.4i|
00000130  6e 2c 30 2e 36 33 69 6e  20 20 2f 2a 20 6c 65 6e  |n,0.63in  /* len|
00000140  67 74 68 2c 20 72 61 64  69 75 73 2c 20 77 61 6c  |gth, radius, wal|
00000150  6c 20 74 68 69 63 6b 6e  65 73 73 20 2a 2f 0a 20  |l thickness */. |
00000160  7d 0a 20 6e 65 61 72 62  6f 6e 64 73 20 7b 20 73  |}. nearbonds { s|
00000170  70 72 69 6e 67 5f 63 6f  6e 73 74 20 33 30 3a 20  |pring_const 30: |
00000180  72 61 6e 67 65 20 32 2e  32 35 20 7d 0a 20 64 61  |range 2.25 }. da|
00000190  6d 70 69 6e 67 20 32 0a  20 72 6f 74 61 74 65 20  |mping 2. rotate |
000001a0  39 30 2c 30 2c 2d 36 0a  20 74 72 61 6e 73 6c 61  |90,0,-6. transla|
000001b0  74 65 20 30 2c 30 2c 36  69 6e 0a 7d 20 0a 0a 62  |te 0,0,6in.} ..b|
000001c0  61 63 6b 67 72 6f 75 6e  64 20 7b 0a 20 63 72 65  |ackground {. cre|
000001d0  61 74 65 20 7b 0a 20 20  74 79 70 65 20 73 70 68  |ate {.  type sph|
000001e0  65 72 65 0a 20 20 70 6f  69 6e 74 73 20 31 32 0a  |ere.  points 12.|
000001f0  20 20 73 69 7a 65 20 33  2e 33 69 6e 0a 20 7d 0a  |  size 3.3in. }.|
00000200  7d 0a 0a 62 61 63 6b 67  72 6f 75 6e 64 20 7b 0a  |}..background {.|
00000210  20 63 72 65 61 74 65 20  7b 0a 20 20 74 79 70 65  | create {.  type|
00000220  20 73 68 65 65 74 0a 20  20 70 6f 69 6e 74 73 20  | sheet.  points |
00000230  31 30 0a 20 20 73 69 7a  65 20 32 30 69 6e 0a 20  |10.  size 20in. |
00000240  7d 0a 20 74 72 61 6e 73  6c 61 74 65 20 30 2c 30  |}. translate 0,0|
00000250  2c 2d 30 2e 31 69 6e 0a  7d                       |,-0.1in.}|
00000259