Changeset 1074


Ignore:
Timestamp:
02/11/21 14:59:40 (4 years ago)
Author:
oriona
Message:

Proper genetic format set.

Location:
experiments/frams/foraminifera/data/scripts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • experiments/frams/foraminifera/data/scripts/foraminifera.expdef

    r908 r1074  
    398398                Populations[2].delete(cr.data->reticulopodiacreature);
    399399        }
    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");
    401401        cr.data->reticulopodiacreature = ret;
    402402        ret.getMechPart(0).orient.set(cr.getMechPart(0).orient);
     
    775775function createNutrientGenotype(nutrientradius)
    776776{
    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";
    778778}
    779779
     
    799799        {
    800800                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");
    802802                cr.data->reticulopodiacreature = nut;
    803803                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  
    77        const growing = 1.07; //7% growth
    88
    9         var str = "//0\nm:Vstyle=foram\n";
     9        var str = "//0s\nm:Vstyle=foram\n";
    1010        var size = proculus_size;
    1111        for(var i = 0; i < number_of_chambers; i++)
Note: See TracChangeset for help on using the changeset viewer.