Home » Archimedes archive » Acorn User » AU 1994-02.adf » !FEMS_App_FEMS_App » sims/repel/TwoSpheres
sims/repel/TwoSpheres
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-02.adf » !FEMS_App_FEMS_App |
Filename: | sims/repel/TwoSpheres |
Read OK: | ✔ |
File size: | 0236 bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
FEMS2 rendering { type dots resolution 320,256 view 0,24 /* x-y rotation, elevation */ background back } frame_aim 280 gravity 0,0,-600 time_div 1 solid { create { type solid_sphere points 10,99 size 2in } repel 72 nearbonds { spring_const 40: range 2.25 } solid_damp 3 translate 1in,0,0 } solid { create { type solid_sphere points 10,99 size 2in } repel 72 nearbonds { spring_const 40: range 2.25 } solid_damp 3 translate -1in,0,5in } background { create { type sheet points 12 size 24in } translate 0,0,-2in }
00000000 46 45 4d 53 32 0a 0a 72 65 6e 64 65 72 69 6e 67 |FEMS2..rendering| 00000010 20 7b 0a 20 74 79 70 65 20 64 6f 74 73 0a 20 72 | {. type dots. r| 00000020 65 73 6f 6c 75 74 69 6f 6e 20 33 32 30 2c 32 35 |esolution 320,25| 00000030 36 0a 20 76 69 65 77 20 30 2c 32 34 20 20 20 20 |6. view 0,24 | 00000040 20 20 20 20 20 20 2f 2a 20 78 2d 79 20 72 6f 74 | /* x-y rot| 00000050 61 74 69 6f 6e 2c 20 65 6c 65 76 61 74 69 6f 6e |ation, elevation| 00000060 20 2a 2f 0a 20 62 61 63 6b 67 72 6f 75 6e 64 20 | */. background | 00000070 62 61 63 6b 0a 7d 0a 66 72 61 6d 65 5f 61 69 6d |back.}.frame_aim| 00000080 20 32 38 30 0a 67 72 61 76 69 74 79 20 30 2c 30 | 280.gravity 0,0| 00000090 2c 2d 36 30 30 0a 74 69 6d 65 5f 64 69 76 20 31 |,-600.time_div 1| 000000a0 0a 0a 73 6f 6c 69 64 20 7b 0a 20 63 72 65 61 74 |..solid {. creat| 000000b0 65 20 7b 0a 20 20 74 79 70 65 20 73 6f 6c 69 64 |e {. type solid| 000000c0 5f 73 70 68 65 72 65 0a 20 20 70 6f 69 6e 74 73 |_sphere. points| 000000d0 20 31 30 2c 39 39 0a 20 20 73 69 7a 65 20 32 69 | 10,99. size 2i| 000000e0 6e 0a 20 7d 0a 20 72 65 70 65 6c 20 37 32 20 0a |n. }. repel 72 .| 000000f0 20 6e 65 61 72 62 6f 6e 64 73 20 7b 20 73 70 72 | nearbonds { spr| 00000100 69 6e 67 5f 63 6f 6e 73 74 20 34 30 3a 20 72 61 |ing_const 40: ra| 00000110 6e 67 65 20 32 2e 32 35 20 7d 0a 20 73 6f 6c 69 |nge 2.25 }. soli| 00000120 64 5f 64 61 6d 70 20 33 0a 20 74 72 61 6e 73 6c |d_damp 3. transl| 00000130 61 74 65 20 31 69 6e 2c 30 2c 30 0a 7d 0a 0a 73 |ate 1in,0,0.}..s| 00000140 6f 6c 69 64 20 7b 0a 20 63 72 65 61 74 65 20 7b |olid {. create {| 00000150 0a 20 20 74 79 70 65 20 73 6f 6c 69 64 5f 73 70 |. type solid_sp| 00000160 68 65 72 65 0a 20 20 70 6f 69 6e 74 73 20 31 30 |here. points 10| 00000170 2c 39 39 0a 20 20 73 69 7a 65 20 32 69 6e 0a 20 |,99. size 2in. | 00000180 7d 0a 20 72 65 70 65 6c 20 37 32 20 0a 20 6e 65 |}. repel 72 . ne| 00000190 61 72 62 6f 6e 64 73 20 7b 20 73 70 72 69 6e 67 |arbonds { spring| 000001a0 5f 63 6f 6e 73 74 20 34 30 3a 20 72 61 6e 67 65 |_const 40: range| 000001b0 20 32 2e 32 35 20 7d 0a 20 73 6f 6c 69 64 5f 64 | 2.25 }. solid_d| 000001c0 61 6d 70 20 33 0a 20 74 72 61 6e 73 6c 61 74 65 |amp 3. translate| 000001d0 20 2d 31 69 6e 2c 30 2c 35 69 6e 0a 7d 0a 0a 0a | -1in,0,5in.}...| 000001e0 62 61 63 6b 67 72 6f 75 6e 64 20 7b 0a 20 63 72 |background {. cr| 000001f0 65 61 74 65 20 7b 0a 20 20 74 79 70 65 20 73 68 |eate {. type sh| 00000200 65 65 74 0a 20 20 70 6f 69 6e 74 73 20 31 32 0a |eet. points 12.| 00000210 20 20 73 69 7a 65 20 32 34 69 6e 0a 20 7d 0a 20 | size 24in. }. | 00000220 74 72 61 6e 73 6c 61 74 65 20 30 2c 30 2c 2d 32 |translate 0,0,-2| 00000230 69 6e 0a 7d 0a 0a |in.}..| 00000236