Home » Archimedes archive » Acorn User » AU 1994-01.adf » !FEMS_App_FEMS_App » sims/FrameSpher
sims/FrameSpher
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/FrameSpher |
Read OK: | ✔ |
File size: | 0574 bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
FEMS2 /* open frame dropped onto hemisphere */ rendering { type dots resolution 320,256 view -41,24 /* x-y rotation, elevation */ } frame_aim 350 gravity 0,0,-600 time_div 4 /* try replacing 2 with 4 */ solid { create { type compound part { type cuboid:points 3,3,11:size 1in,1in,5in } part { type cuboid:points 3,3,11:size 1in,1in,5in:offset 4in,0,0 } part { type cuboid:points 3,3,11:size 1in,1in,5in:offset 0,4in,0 } part { type cuboid:points 3,3,11:size 1in,1in,5in:offset 4in,4in,0 } part { type cuboid:points 7,3,3:size 3in,1in,1in:offset 1in,0,0 } part { type cuboid:points 7,3,3:size 3in,1in,1in:offset 1in,4in,0 } part { type cuboid:points 3,7,3:size 1in,3in,1in:offset 0,1in,0 } part { type cuboid:points 3,7,3:size 1in,3in,1in:offset 4in,1in,0 } part { type cuboid:points 7,3,3:size 3in,1in,1in:offset 1in,0,4in } part { type cuboid:points 7,3,3:size 3in,1in,1in:offset 1in,4in,4in } part { type cuboid:points 3,7,3:size 1in,3in,1in:offset 0,1in,4in } part { type cuboid:points 3,7,3:size 1in,3in,1in:offset 4in,1in,4in } } translate -2.5in,-2.5in,-2.5in scale .7,.7,.7 nearbonds { spring_const 25: range 2.25 } damping 4 rotate 0,0,23.4 translate .3in,.3in,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 6f 70 65 6e 20 66 72 |FEMS2./* open fr| 00000010 61 6d 65 20 64 72 6f 70 70 65 64 20 6f 6e 74 6f |ame dropped onto| 00000020 20 68 65 6d 69 73 70 68 65 72 65 20 2a 2f 0a 0a | hemisphere */..| 00000030 72 65 6e 64 65 72 69 6e 67 20 7b 0a 20 74 79 70 |rendering {. typ| 00000040 65 20 64 6f 74 73 0a 20 72 65 73 6f 6c 75 74 69 |e dots. resoluti| 00000050 6f 6e 20 33 32 30 2c 32 35 36 0a 20 76 69 65 77 |on 320,256. view| 00000060 20 2d 34 31 2c 32 34 20 20 20 20 20 20 20 20 20 | -41,24 | 00000070 20 2f 2a 20 78 2d 79 20 72 6f 74 61 74 69 6f 6e | /* x-y rotation| 00000080 2c 20 65 6c 65 76 61 74 69 6f 6e 20 2a 2f 0a 20 |, elevation */. | 00000090 7d 0a 66 72 61 6d 65 5f 61 69 6d 20 33 35 30 0a |}.frame_aim 350.| 000000a0 67 72 61 76 69 74 79 20 30 2c 30 2c 2d 36 30 30 |gravity 0,0,-600| 000000b0 0a 74 69 6d 65 5f 64 69 76 20 34 20 20 20 20 20 |.time_div 4 | 000000c0 20 20 20 20 20 20 20 2f 2a 20 74 72 79 20 72 65 | /* try re| 000000d0 70 6c 61 63 69 6e 67 20 32 20 77 69 74 68 20 34 |placing 2 with 4| 000000e0 20 2a 2f 0a 0a 73 6f 6c 69 64 20 7b 20 20 0a 20 | */..solid { . | 000000f0 63 72 65 61 74 65 20 7b 0a 20 20 74 79 70 65 20 |create {. type | 00000100 63 6f 6d 70 6f 75 6e 64 0a 20 20 70 61 72 74 20 |compound. part | 00000110 7b 20 74 79 70 65 20 63 75 62 6f 69 64 3a 70 6f |{ type cuboid:po| 00000120 69 6e 74 73 20 33 2c 33 2c 31 31 3a 73 69 7a 65 |ints 3,3,11:size| 00000130 20 31 69 6e 2c 31 69 6e 2c 35 69 6e 20 7d 0a 20 | 1in,1in,5in }. | 00000140 20 70 61 72 74 20 7b 20 74 79 70 65 20 63 75 62 | part { type cub| 00000150 6f 69 64 3a 70 6f 69 6e 74 73 20 33 2c 33 2c 31 |oid:points 3,3,1| 00000160 31 3a 73 69 7a 65 20 31 69 6e 2c 31 69 6e 2c 35 |1:size 1in,1in,5| 00000170 69 6e 3a 6f 66 66 73 65 74 20 34 69 6e 2c 30 2c |in:offset 4in,0,| 00000180 30 20 7d 0a 20 20 70 61 72 74 20 7b 20 74 79 70 |0 }. part { typ| 00000190 65 20 63 75 62 6f 69 64 3a 70 6f 69 6e 74 73 20 |e cuboid:points | 000001a0 33 2c 33 2c 31 31 3a 73 69 7a 65 20 31 69 6e 2c |3,3,11:size 1in,| 000001b0 31 69 6e 2c 35 69 6e 3a 6f 66 66 73 65 74 20 30 |1in,5in:offset 0| 000001c0 2c 34 69 6e 2c 30 20 7d 0a 20 20 70 61 72 74 20 |,4in,0 }. part | 000001d0 7b 20 74 79 70 65 20 63 75 62 6f 69 64 3a 70 6f |{ type cuboid:po| 000001e0 69 6e 74 73 20 33 2c 33 2c 31 31 3a 73 69 7a 65 |ints 3,3,11:size| 000001f0 20 31 69 6e 2c 31 69 6e 2c 35 69 6e 3a 6f 66 66 | 1in,1in,5in:off| 00000200 73 65 74 20 34 69 6e 2c 34 69 6e 2c 30 20 7d 0a |set 4in,4in,0 }.| 00000210 20 20 70 61 72 74 20 7b 20 74 79 70 65 20 63 75 | part { type cu| 00000220 62 6f 69 64 3a 70 6f 69 6e 74 73 20 37 2c 33 2c |boid:points 7,3,| 00000230 33 3a 73 69 7a 65 20 33 69 6e 2c 31 69 6e 2c 31 |3:size 3in,1in,1| 00000240 69 6e 3a 6f 66 66 73 65 74 20 31 69 6e 2c 30 2c |in:offset 1in,0,| 00000250 30 20 7d 0a 20 20 70 61 72 74 20 7b 20 74 79 70 |0 }. part { typ| 00000260 65 20 63 75 62 6f 69 64 3a 70 6f 69 6e 74 73 20 |e cuboid:points | 00000270 37 2c 33 2c 33 3a 73 69 7a 65 20 33 69 6e 2c 31 |7,3,3:size 3in,1| 00000280 69 6e 2c 31 69 6e 3a 6f 66 66 73 65 74 20 31 69 |in,1in:offset 1i| 00000290 6e 2c 34 69 6e 2c 30 20 7d 0a 20 20 70 61 72 74 |n,4in,0 }. part| 000002a0 20 7b 20 74 79 70 65 20 63 75 62 6f 69 64 3a 70 | { type cuboid:p| 000002b0 6f 69 6e 74 73 20 33 2c 37 2c 33 3a 73 69 7a 65 |oints 3,7,3:size| 000002c0 20 31 69 6e 2c 33 69 6e 2c 31 69 6e 3a 6f 66 66 | 1in,3in,1in:off| 000002d0 73 65 74 20 30 2c 31 69 6e 2c 30 20 7d 0a 20 20 |set 0,1in,0 }. | 000002e0 70 61 72 74 20 7b 20 74 79 70 65 20 63 75 62 6f |part { type cubo| 000002f0 69 64 3a 70 6f 69 6e 74 73 20 33 2c 37 2c 33 3a |id:points 3,7,3:| 00000300 73 69 7a 65 20 31 69 6e 2c 33 69 6e 2c 31 69 6e |size 1in,3in,1in| 00000310 3a 6f 66 66 73 65 74 20 34 69 6e 2c 31 69 6e 2c |:offset 4in,1in,| 00000320 30 20 7d 0a 20 20 70 61 72 74 20 7b 20 74 79 70 |0 }. part { typ| 00000330 65 20 63 75 62 6f 69 64 3a 70 6f 69 6e 74 73 20 |e cuboid:points | 00000340 37 2c 33 2c 33 3a 73 69 7a 65 20 33 69 6e 2c 31 |7,3,3:size 3in,1| 00000350 69 6e 2c 31 69 6e 3a 6f 66 66 73 65 74 20 31 69 |in,1in:offset 1i| 00000360 6e 2c 30 2c 34 69 6e 20 7d 0a 20 20 70 61 72 74 |n,0,4in }. part| 00000370 20 7b 20 74 79 70 65 20 63 75 62 6f 69 64 3a 70 | { type cuboid:p| 00000380 6f 69 6e 74 73 20 37 2c 33 2c 33 3a 73 69 7a 65 |oints 7,3,3:size| 00000390 20 33 69 6e 2c 31 69 6e 2c 31 69 6e 3a 6f 66 66 | 3in,1in,1in:off| 000003a0 73 65 74 20 31 69 6e 2c 34 69 6e 2c 34 69 6e 20 |set 1in,4in,4in | 000003b0 7d 0a 20 20 70 61 72 74 20 7b 20 74 79 70 65 20 |}. part { type | 000003c0 63 75 62 6f 69 64 3a 70 6f 69 6e 74 73 20 33 2c |cuboid:points 3,| 000003d0 37 2c 33 3a 73 69 7a 65 20 31 69 6e 2c 33 69 6e |7,3:size 1in,3in| 000003e0 2c 31 69 6e 3a 6f 66 66 73 65 74 20 30 2c 31 69 |,1in:offset 0,1i| 000003f0 6e 2c 34 69 6e 20 7d 0a 20 20 70 61 72 74 20 7b |n,4in }. part {| 00000400 20 74 79 70 65 20 63 75 62 6f 69 64 3a 70 6f 69 | type cuboid:poi| 00000410 6e 74 73 20 33 2c 37 2c 33 3a 73 69 7a 65 20 31 |nts 3,7,3:size 1| 00000420 69 6e 2c 33 69 6e 2c 31 69 6e 3a 6f 66 66 73 65 |in,3in,1in:offse| 00000430 74 20 34 69 6e 2c 31 69 6e 2c 34 69 6e 20 7d 0a |t 4in,1in,4in }.| 00000440 20 7d 20 20 0a 20 74 72 61 6e 73 6c 61 74 65 20 | } . translate | 00000450 2d 32 2e 35 69 6e 2c 2d 32 2e 35 69 6e 2c 2d 32 |-2.5in,-2.5in,-2| 00000460 2e 35 69 6e 20 0a 20 73 63 61 6c 65 20 2e 37 2c |.5in . scale .7,| 00000470 2e 37 2c 2e 37 0a 20 6e 65 61 72 62 6f 6e 64 73 |.7,.7. nearbonds| 00000480 20 7b 20 73 70 72 69 6e 67 5f 63 6f 6e 73 74 20 | { spring_const | 00000490 32 35 3a 20 72 61 6e 67 65 20 32 2e 32 35 20 7d |25: range 2.25 }| 000004a0 0a 20 64 61 6d 70 69 6e 67 20 34 0a 20 72 6f 74 |. damping 4. rot| 000004b0 61 74 65 20 30 2c 30 2c 32 33 2e 34 0a 20 74 72 |ate 0,0,23.4. tr| 000004c0 61 6e 73 6c 61 74 65 20 2e 33 69 6e 2c 2e 33 69 |anslate .3in,.3i| 000004d0 6e 2c 36 69 6e 0a 7d 0a 0a 62 61 63 6b 67 72 6f |n,6in.}..backgro| 000004e0 75 6e 64 20 7b 0a 20 63 72 65 61 74 65 20 7b 0a |und {. create {.| 000004f0 20 20 74 79 70 65 20 73 70 68 65 72 65 0a 20 20 | type sphere. | 00000500 70 6f 69 6e 74 73 20 31 32 0a 20 20 73 69 7a 65 |points 12. size| 00000510 20 33 2e 33 69 6e 0a 20 7d 0a 7d 0a 0a 62 61 63 | 3.3in. }.}..bac| 00000520 6b 67 72 6f 75 6e 64 20 7b 0a 20 63 72 65 61 74 |kground {. creat| 00000530 65 20 7b 0a 20 20 74 79 70 65 20 73 68 65 65 74 |e {. type sheet| 00000540 0a 20 20 70 6f 69 6e 74 73 20 31 30 0a 20 20 73 |. points 10. s| 00000550 69 7a 65 20 32 30 69 6e 0a 20 7d 0a 20 74 72 61 |ize 20in. }. tra| 00000560 6e 73 6c 61 74 65 20 30 2c 30 2c 2d 30 2e 31 69 |nslate 0,0,-0.1i| 00000570 6e 0a 7d 0a |n.}.| 00000574