show: name:Reproduction of benthic foraminifera info:~ Foraminifers are shown as green balls. Nutrients are tiny white boxes. Foraminifers move towards nearest nutrients and try to accumulate a sufficient amount of energy to reproduce. Haploid and diploid generations alternate. Diploid foraminifers have orange marks. More information at www.framsticks.com/foraminifera ~ expdef:foraminifera code:~ function onLoad() { Simulator.init(); GLDisplay.desiredsimspeed = 50; GLDisplay.minfps = 10; } function ShowParams_minimalVolume_set() { switch (ShowParams.minimalVolume) { case 0: ExpParams.v_min_h = 300; ExpParams.v_min_d = 300; break; case 1: ExpParams.v_min_h = 150; ExpParams.v_min_d = 500; break; } } function ShowParams_offspingNumber_set() { switch (ShowParams.offspingNumber) { case 0: ExpParams.ofnumh = 300; ExpParams.ofnumd = 300; break; case 1: ExpParams.ofnumh = 150; ExpParams.ofnumd = 500; break; } } function ShowParams_populationSize_set() { switch (ShowParams.populationSize) { case 0: ExpParams.psize = 5; break; case 1: ExpParams.psize = 10; break; case 2: ExpParams.psize = 15; break; case 3: ExpParams.psize = 20; break; } } function ShowParams_feedRate_set() { switch (ShowParams.feedRate) { case 0: ExpParams.feedrate = 0.5; break; case 1: ExpParams.feedrate = 0.7; break; case 2: ExpParams.feedrate = 0.9; break; } } ~ prop: id:minimalVolume name:Min reproduction energy haploid/diploid type:f 0 1 ~300 / 300~150 / 500 prop: id:populationSize name:Initial population size type:d 0 3 ~5~10~15~20 prop: id:offspingNumber name:Number of offspring haploi/diploid type:d 0 2 ~20 / 4~10 / 5 prop: id:feedRate name:Feeding rate type:d 0 2 ~50~70~90