Changeset 575 for experiments/frams/foraminifera
- Timestamp:
- 08/09/16 01:09:38 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
experiments/frams/foraminifera/data/scripts/foraminifera.inc
r573 r575 12 12 { 13 13 var effectivesize=size; //'effectivesize' is introduced only to consider the last chamber 14 if (i==number_of_chambers-1) 14 if (i==number_of_chambers-1) //last chamber 15 15 { 16 16 effectivesize*=lastchambergrowth; 17 17 size=size*(1.35-0.35*lastchambergrowth); //last iteration: 'size' is only used for shifting (dx). The last chamber emerges at the surface of the previous one 18 if (lastchambergrowth<1) 19 rgbstring="0.8,0.8,0.8,i=\"growing=%g\"" % lastchambergrowth; //when the last chamber is growing, make it gray and add extra information in its "i" field 18 20 } 19 21 str += "p:sh=1,sx=%g,sy=%g,sz=%g,rz=3.14159265358979,vr=%s\n" % effectivesize % effectivesize % effectivesize % rgbstring;
Note: See TracChangeset
for help on using the changeset viewer.