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

sims/TubeSphere

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/TubeSphere
Read OK:
File size: 024B bytes
Load address: 0000
Exec address: 0000
File contents
FEMS2
/* Tube dropping onto sphere */

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 10,17,3         /* length,circum,wall thickness */
  size 6in,1.8in,1.33in  /* length, radius, wall thickness */
 }
 nearbonds { spring_const 30: range 2.25 }
 damping 2
 rotate 90,0,-6
 translate 0,0,6.5in
} 

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 54 75 62 65 20 64 72  |FEMS2./* Tube dr|
00000010  6f 70 70 69 6e 67 20 6f  6e 74 6f 20 73 70 68 65  |opping onto sphe|
00000020  72 65 20 2a 2f 0a 0a 72  65 6e 64 65 72 69 6e 67  |re */..rendering|
00000030  20 7b 0a 20 74 79 70 65  20 64 6f 74 73 0a 20 72  | {. type dots. r|
00000040  65 73 6f 6c 75 74 69 6f  6e 20 33 32 30 2c 32 35  |esolution 320,25|
00000050  36 0a 20 76 69 65 77 20  2d 34 31 2c 32 34 20 20  |6. view -41,24  |
00000060  20 20 20 20 20 20 20 20  20 20 20 2f 2a 20 78 2d  |           /* x-|
00000070  79 20 72 6f 74 61 74 69  6f 6e 2c 20 65 6c 65 76  |y rotation, elev|
00000080  61 74 69 6f 6e 20 2a 2f  0a 7d 0a 66 72 61 6d 65  |ation */.}.frame|
00000090  5f 61 69 6d 20 36 34 30  0a 67 72 61 76 69 74 79  |_aim 640.gravity|
000000a0  20 30 2c 30 2c 2d 36 30  30 0a 74 69 6d 65 5f 64  | 0,0,-600.time_d|
000000b0  69 76 20 31 0a 0a 73 6f  6c 69 64 20 7b 20 0a 20  |iv 1..solid { . |
000000c0  63 72 65 61 74 65 20 7b  0a 20 20 74 79 70 65 20  |create {.  type |
000000d0  74 75 62 65 0a 20 20 70  6f 69 6e 74 73 20 31 30  |tube.  points 10|
000000e0  2c 31 37 2c 33 20 20 20  20 20 20 20 20 20 2f 2a  |,17,3         /*|
000000f0  20 6c 65 6e 67 74 68 2c  63 69 72 63 75 6d 2c 77  | length,circum,w|
00000100  61 6c 6c 20 74 68 69 63  6b 6e 65 73 73 20 2a 2f  |all thickness */|
00000110  0a 20 20 73 69 7a 65 20  36 69 6e 2c 31 2e 38 69  |.  size 6in,1.8i|
00000120  6e 2c 31 2e 33 33 69 6e  20 20 2f 2a 20 6c 65 6e  |n,1.33in  /* len|
00000130  67 74 68 2c 20 72 61 64  69 75 73 2c 20 77 61 6c  |gth, radius, wal|
00000140  6c 20 74 68 69 63 6b 6e  65 73 73 20 2a 2f 0a 20  |l thickness */. |
00000150  7d 0a 20 6e 65 61 72 62  6f 6e 64 73 20 7b 20 73  |}. nearbonds { s|
00000160  70 72 69 6e 67 5f 63 6f  6e 73 74 20 33 30 3a 20  |pring_const 30: |
00000170  72 61 6e 67 65 20 32 2e  32 35 20 7d 0a 20 64 61  |range 2.25 }. da|
00000180  6d 70 69 6e 67 20 32 0a  20 72 6f 74 61 74 65 20  |mping 2. rotate |
00000190  39 30 2c 30 2c 2d 36 0a  20 74 72 61 6e 73 6c 61  |90,0,-6. transla|
000001a0  74 65 20 30 2c 30 2c 36  2e 35 69 6e 0a 7d 20 0a  |te 0,0,6.5in.} .|
000001b0  0a 62 61 63 6b 67 72 6f  75 6e 64 20 7b 0a 20 63  |.background {. c|
000001c0  72 65 61 74 65 20 7b 0a  20 20 74 79 70 65 20 73  |reate {.  type s|
000001d0  70 68 65 72 65 0a 20 20  70 6f 69 6e 74 73 20 31  |phere.  points 1|
000001e0  32 0a 20 20 73 69 7a 65  20 33 2e 33 69 6e 0a 20  |2.  size 3.3in. |
000001f0  7d 0a 7d 0a 0a 62 61 63  6b 67 72 6f 75 6e 64 20  |}.}..background |
00000200  7b 0a 20 63 72 65 61 74  65 20 7b 0a 20 20 74 79  |{. create {.  ty|
00000210  70 65 20 73 68 65 65 74  0a 20 20 70 6f 69 6e 74  |pe sheet.  point|
00000220  73 20 31 30 0a 20 20 73  69 7a 65 20 32 30 69 6e  |s 10.  size 20in|
00000230  0a 20 7d 0a 20 74 72 61  6e 73 6c 61 74 65 20 30  |. }. translate 0|
00000240  2c 30 2c 2d 30 2e 31 69  6e 0a 7d                 |,0,-0.1in.}|
0000024b