Home » Archimedes archive » Acorn User » AU 1994-02.adf » !FEMS_App_FEMS_App » sims/cloth/ClothPull2
sims/cloth/ClothPull2
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/cloth/ClothPull2 |
Read OK: | ✔ |
File size: | 0271 bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
FEMS2 /* cloth dropped on sphere and pulled off */ /* demonstrates use of fix_vel command */ rendering { type dots resolution 320,256 view -30,24 /* x-y rotation, elevation */ } frame_aim 280 gravity 0,0,-600 time_div 1 solid { create { type sheet points 21 size 16in } nearbonds { spring_const 51 range 2.1 } air_damp 3 rotate 0,0,45deg fix_vel -9in,-9.5in,-1in, 18in,-4in,2in, 0,-2ips,0 rotate 0,0,-90deg fix_vel -9in,-9.5in,-1in, 18in,-4in,2in, 0,-2ips,0 rotate 0,0,45deg translate 0,0,6.9in } background { create { type sphere points 12 size 3.3in } translate 0,0,3.3in }
00000000 46 45 4d 53 32 0a 2f 2a 20 63 6c 6f 74 68 20 64 |FEMS2./* cloth d| 00000010 72 6f 70 70 65 64 20 6f 6e 20 73 70 68 65 72 65 |ropped on sphere| 00000020 20 61 6e 64 20 70 75 6c 6c 65 64 20 6f 66 66 20 | and pulled off | 00000030 2a 2f 0a 2f 2a 20 64 65 6d 6f 6e 73 74 72 61 74 |*/./* demonstrat| 00000040 65 73 20 75 73 65 20 6f 66 20 66 69 78 5f 76 65 |es use of fix_ve| 00000050 6c 20 63 6f 6d 6d 61 6e 64 20 2a 2f 0a 0a 72 65 |l command */..re| 00000060 6e 64 65 72 69 6e 67 20 7b 0a 20 74 79 70 65 20 |ndering {. type | 00000070 64 6f 74 73 0a 20 72 65 73 6f 6c 75 74 69 6f 6e |dots. resolution| 00000080 20 33 32 30 2c 32 35 36 0a 20 76 69 65 77 20 2d | 320,256. view -| 00000090 33 30 2c 32 34 20 20 20 20 20 20 20 20 20 20 2f |30,24 /| 000000a0 2a 20 78 2d 79 20 72 6f 74 61 74 69 6f 6e 2c 20 |* x-y rotation, | 000000b0 65 6c 65 76 61 74 69 6f 6e 20 2a 2f 0a 7d 0a 66 |elevation */.}.f| 000000c0 72 61 6d 65 5f 61 69 6d 20 32 38 30 0a 67 72 61 |rame_aim 280.gra| 000000d0 76 69 74 79 20 30 2c 30 2c 2d 36 30 30 0a 74 69 |vity 0,0,-600.ti| 000000e0 6d 65 5f 64 69 76 20 31 0a 0a 73 6f 6c 69 64 20 |me_div 1..solid | 000000f0 7b 0a 20 63 72 65 61 74 65 20 7b 0a 20 20 74 79 |{. create {. ty| 00000100 70 65 20 73 68 65 65 74 0a 20 20 70 6f 69 6e 74 |pe sheet. point| 00000110 73 20 32 31 0a 20 20 73 69 7a 65 20 31 36 69 6e |s 21. size 16in| 00000120 20 0a 20 7d 0a 20 6e 65 61 72 62 6f 6e 64 73 20 | . }. nearbonds | 00000130 7b 0a 20 20 73 70 72 69 6e 67 5f 63 6f 6e 73 74 |{. spring_const| 00000140 20 35 31 0a 20 20 72 61 6e 67 65 20 32 2e 31 0a | 51. range 2.1.| 00000150 20 7d 0a 20 61 69 72 5f 64 61 6d 70 20 33 0a 20 | }. air_damp 3. | 00000160 72 6f 74 61 74 65 20 30 2c 30 2c 34 35 64 65 67 |rotate 0,0,45deg| 00000170 0a 20 66 69 78 5f 76 65 6c 20 2d 39 69 6e 2c 2d |. fix_vel -9in,-| 00000180 39 2e 35 69 6e 2c 2d 31 69 6e 2c 20 31 38 69 6e |9.5in,-1in, 18in| 00000190 2c 2d 34 69 6e 2c 32 69 6e 2c 20 30 2c 2d 32 69 |,-4in,2in, 0,-2i| 000001a0 70 73 2c 30 0a 20 72 6f 74 61 74 65 20 30 2c 30 |ps,0. rotate 0,0| 000001b0 2c 2d 39 30 64 65 67 0a 20 66 69 78 5f 76 65 6c |,-90deg. fix_vel| 000001c0 20 2d 39 69 6e 2c 2d 39 2e 35 69 6e 2c 2d 31 69 | -9in,-9.5in,-1i| 000001d0 6e 2c 20 31 38 69 6e 2c 2d 34 69 6e 2c 32 69 6e |n, 18in,-4in,2in| 000001e0 2c 20 30 2c 2d 32 69 70 73 2c 30 0a 20 72 6f 74 |, 0,-2ips,0. rot| 000001f0 61 74 65 20 30 2c 30 2c 34 35 64 65 67 0a 20 74 |ate 0,0,45deg. t| 00000200 72 61 6e 73 6c 61 74 65 20 30 2c 30 2c 36 2e 39 |ranslate 0,0,6.9| 00000210 69 6e 20 0a 7d 0a 0a 0a 62 61 63 6b 67 72 6f 75 |in .}...backgrou| 00000220 6e 64 20 7b 0a 20 63 72 65 61 74 65 20 7b 0a 20 |nd {. create {. | 00000230 20 74 79 70 65 20 73 70 68 65 72 65 0a 20 20 70 | type sphere. p| 00000240 6f 69 6e 74 73 20 31 32 0a 20 20 73 69 7a 65 20 |oints 12. size | 00000250 33 2e 33 69 6e 0a 20 7d 0a 20 74 72 61 6e 73 6c |3.3in. }. transl| 00000260 61 74 65 20 30 2c 30 2c 33 2e 33 69 6e 0a 7d 0a |ate 0,0,3.3in.}.| 00000270 0a |.| 00000271