This expression uses map values to apply clumping magnitude along the length of each spline. Min and max values specify the input values range for $t. This global variable ($t) applies values along the length of each spline. It is not supported by all attributes and modifiers.
#map painted for the Clumping attribute.
$a=map('${DESC}/paintmaps/clumping1_alongLength');#3dpaint,30.0   
#Declare local values for the expanded range of the $t global variable.
$min=0.0000;#0.00,0.5
$max=2.0000;#0.50,5.00
#$t applies the clumping values. The fit() expands the input range for $t, taking it from 0 and 1 to 0 and 5.
$t^($a->fit(0,1,$min,$max))
 
	 This expression uses a map to control where noise is applied and sets its magnitude.
#Painted map.
$a=map('${DESC}/paintmaps/mask_NoiseMap');#3dpaint,30.0
#Declare local variables for input values for noise functions.
hi =1.000;
$lo =0.192;
$contrast =0.973;
$freq =25.0000; #.1,30
#Multiple noise layers calculated.
$a*smoothstep(noise($P*$freq), $lo, $hi) -> contrast($contrast)
 
	 You can create multiple maps for Density masks and use a slider control to easy select between them.
#Create mulitple Density masks.
$a=map('${DESC}/paintmaps/Density_mask');#3dpaint,20.0
$b=map('${DESC}/paintmaps/Density_Mask1');#3dpaint,20.0
$c=map('${DESC}/paintmaps/Density_Mask2');#3dpaint,20.0
$d=map('${DESC}/paintmaps/Density_Mask3');#3dpaint,20.0
#Declare local variable for map selection. Slider control set for 1-4 for four maps.
$select=4;#1,4
#Sets selection range. 
$fit=expand($select,1,4);
#choose() functon chooses a selection choice based on the range.
choose($fit,$a,$b,$c,$d)
 
	 $Hue=152;#0,360;
$Saturation=1.0000;#0.00,2.00;
$Intensity=1.0000;#0.00,2.00;
$a=map('${DESC}/groom/region/');#3dpaint,20.0
$a->hsi($Hue, $Saturation, $Intensity)