Changeset 434
- Timestamp:
- 09/10/15 23:52:47 (9 years ago)
- Location:
- experiments/frams/foraminifera/data/scripts
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
experiments/frams/foraminifera/data/scripts/foraminifera.expdef
r433 r434 2 2 name:Reproduction of benthic foraminifera 3 3 info:~ 4 Basic information about this simulation: 5 www.framsticks.com/foraminifera 6 7 Technical information: 4 8 Genes and parameter values which control reproduction are stored in user1 and user2 fields. 5 9 … … 19 23 code:~ 20 24 21 /*22 changes 2015-06-24:23 - xxx.get(...) changed to xxx[...]24 - xxx.set(...,...) changed to xxx[...]=...25 - function placeRandomlyNotColliding(cr) explicitly called when adding a new creature, and removed collision checking from onForamsBorn() which is also called when "growing" (since "growing" is implemented as creating a new creature in place of the old one, so onForamsBorn() is also called)26 - use creature's center (not the bbox corner) when growing27 - added "S" receptor to visualize the difference between diplo and haplo generations28 - signal.value is a MechPart (a reference) so it does not have to be updated after changing the object location29 */30 25 31 26 global nutrientenergywaiting; … … 553 548 } 554 549 } 555 if (ExpParams.max _iter> 0)556 { 557 if (Simulator.stepNumber == ExpParams.max_iter)550 if (ExpParams.maxSteps > 0) 551 { 552 if (Simulator.stepNumber >= ExpParams.maxSteps) 558 553 Simulator.stop(); 559 554 } … … 614 609 615 610 prop: 616 id:max _iter611 id:maxSteps 617 612 name:Stop after the given number of simulation steps 618 type:d 0 1 50000 0613 type:d 0 1000000 0 619 614 620 615 prop: -
experiments/frams/foraminifera/data/scripts/foraminifera.show
r430 r434 2 2 name:Reproduction of benthic foraminifera 3 3 info:~ 4 There are two species of Foraminiera: longitudal and coiled. First chamber of the longitudal species has 5 orange marks. Haploid and diploid generations alternate in both species. All chambers of the haploid generation 6 have the same size. In the diploid generation subsequent chambers are bigger than their predecessors. 7 Nutrients are green disks. Foraminifers move towards nearest nutrients and try to accumulate a sufficient 8 amount of energy to reproduce. 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 green disks. Foraminifers move towards nearest nutrients and this way they can accumulate enough energy to reproduce. 9 7 10 8 More information at www.framsticks.com/foraminifera
Note: See TracChangeset
for help on using the changeset viewer.