Changeset 1074 for experiments/frams/foraminifera
- Timestamp:
- 02/11/21 14:59:40 (4 years ago)
- Location:
- experiments/frams/foraminifera/data/scripts
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
experiments/frams/foraminifera/data/scripts/foraminifera.expdef
r908 r1074 398 398 Populations[2].delete(cr.data->reticulopodiacreature); 399 399 } 400 var ret = Populations[2].add("//0 \nm:Vstyle=reticulopodia\np:sh=1,sx=0.001,sy=0.001,sz=0.001\np:sh=3,sx=0.01,sy=" + radius + ",sz=" + radius + ",ry=1.57079633,vr=" + curColor + "\nj:0, 1, sh=1");400 var ret = Populations[2].add("//0s\nm:Vstyle=reticulopodia\np:sh=1,sx=0.001,sy=0.001,sz=0.001\np:sh=3,sx=0.01,sy=" + radius + ",sz=" + radius + ",ry=1.57079633,vr=" + curColor + "\nj:0, 1, sh=1"); 401 401 cr.data->reticulopodiacreature = ret; 402 402 ret.getMechPart(0).orient.set(cr.getMechPart(0).orient); … … 775 775 function createNutrientGenotype(nutrientradius) 776 776 { 777 return "//0 \nm:Vstyle=nutrient\np:sh=3,sx=" + nutrientradius + ",sy=" + nutrientradius + ",sz=" + nutrientradius + ",ry=1.57,vr=0.0,1.0,0.0";777 return "//0s\nm:Vstyle=nutrient\np:sh=3,sx=" + nutrientradius + ",sy=" + nutrientradius + ",sz=" + nutrientradius + ",ry=1.57,vr=0.0,1.0,0.0"; 778 778 } 779 779 … … 799 799 { 800 800 var nutsize = ExpProperties.nutrientradius * 10; 801 var nut = Populations[2].add("//0 \nm:Vstyle=nutrient_visual\np:sh=2,sx=" + nutsize + ",sy=" + nutsize + ",sz=" + nutsize + ",ry=1.5,vr=0.0,1.0,0.0");801 var nut = Populations[2].add("//0s\nm:Vstyle=nutrient_visual\np:sh=2,sx=" + nutsize + ",sy=" + nutsize + ",sz=" + nutsize + ",ry=1.5,vr=0.0,1.0,0.0"); 802 802 cr.data->reticulopodiacreature = nut; 803 803 nut.locationSetBboxLow( cr.bboxLow.x + cr.bboxSize.x / 2 - nut.bboxSize.x / 2, cr.bboxLow.y + cr.bboxSize.y / 2 - nut.bboxSize.y / 2, -nutsize); -
experiments/frams/foraminifera/data/scripts/foraminifera.inc
r847 r1074 7 7 const growing = 1.07; //7% growth 8 8 9 var str = "//0 \nm:Vstyle=foram\n";9 var str = "//0s\nm:Vstyle=foram\n"; 10 10 var size = proculus_size; 11 11 for(var i = 0; i < number_of_chambers; i++)
Note: See TracChangeset
for help on using the changeset viewer.