Last change
on this file since 442 was
442,
checked in by Maciej Komosinski, 9 years ago
|
Set lower initial camera height
|
File size:
1.5 KB
|
Line | |
---|
1 | show:
|
---|
2 | name:Reproduction of benthic foraminifera
|
---|
3 | info:~
|
---|
4 | There are two species of Foraminiera: longitudal and coiled. The first chamber of the longitudal species has orange marks. Haploid and diploid generations alternate in both species. All chambers of the haploid generation have the same size. In the diploid generation, subsequent chambers are bigger than their predecessors.
|
---|
5 |
|
---|
6 | Nutrients are shown as tall vertical bars. Foraminifers move towards nearest nutrients and this way they can accumulate enough energy to reproduce.
|
---|
7 |
|
---|
8 | More information at www.framsticks.com/foraminifera
|
---|
9 | ~
|
---|
10 | expdef:foraminifera
|
---|
11 | code:~
|
---|
12 |
|
---|
13 | global Params;
|
---|
14 |
|
---|
15 | function onLoad()
|
---|
16 | {
|
---|
17 | Simulator.init();
|
---|
18 | GLDisplay.desiredsimspeed = 50;
|
---|
19 | GLDisplay.minfps = 10;
|
---|
20 | TrackingCam.cam_h = 15; //more side view
|
---|
21 |
|
---|
22 | Params = { "feedrate" : [0.05,0.1,0.2], "feedtrans" : [0.01,0.05,0.1],"energy_nut" :[0.5,1.5,3.0], "stress" : [0,1]};
|
---|
23 | }
|
---|
24 |
|
---|
25 | function setShowParam(param_id)
|
---|
26 | {
|
---|
27 | ExpParams.[param_id] = Params[param_id][ShowParams.[param_id]];
|
---|
28 | }
|
---|
29 |
|
---|
30 | function ShowParams_feedrate_set()
|
---|
31 | {
|
---|
32 | setShowParam("feedrate");
|
---|
33 | }
|
---|
34 |
|
---|
35 | function ShowParams_feedtrans_set()
|
---|
36 | {
|
---|
37 | setShowParam("feedtrans");
|
---|
38 | }
|
---|
39 |
|
---|
40 | function ShowParams_energy_nut_set()
|
---|
41 | {
|
---|
42 | setShowParam("energy_nut");
|
---|
43 | }
|
---|
44 |
|
---|
45 | function ShowParams_stress_set()
|
---|
46 | {
|
---|
47 | setShowParam("stress");
|
---|
48 | }
|
---|
49 |
|
---|
50 | ~
|
---|
51 |
|
---|
52 | prop:
|
---|
53 | id:feedrate
|
---|
54 | name:Feeding rate
|
---|
55 | type:d 0 2 1 ~Low~Medium~High
|
---|
56 |
|
---|
57 | prop:
|
---|
58 | id:feedtrans
|
---|
59 | name:Energy transfer
|
---|
60 | type:d 0 2 1 ~0.01~0.05~0.1
|
---|
61 |
|
---|
62 | prop:
|
---|
63 | id:energy_nut
|
---|
64 | name:Nutrient energy
|
---|
65 | type:d 0 2 1 ~0.5~1.5~3
|
---|
66 |
|
---|
67 | prop:
|
---|
68 | id:stress
|
---|
69 | name:Stress
|
---|
70 | type:d 0 1 1
|
---|
Note: See
TracBrowser
for help on using the repository browser.