float min = chf("min");
float max = chf("max");
float val = rand(@id);
val = fit01( pow( val, chi("pow")), min, max);
f@pscale = val;
pscaleMieu
// check si il y a un att id sur les points
if (haspointattrib(0,"id")==0 ){@id = @ptnum;}
// random globale
@pscale = fit01(rand(@id+454654),ch("min"),ch("max"));
// pourcentage des plus gros
if (rand(@id+987)<ch("pctDePlusGros")){
@pscale = fit01(rand(@id+454654),ch("minGros"),ch("maxGros"));
}
// un scale globale
@pscale *= ch("globalMult");
removePoint
if (@Cd.x<chf("seuilColor"))removepoint(0,@ptnum);