Creating random hair radius with minimum radius and maximum

Is there a way to create random hair radius/width like the following expression with geometry nodes??
it is simple to create with xgen
here is the xpression:
$Width = 0.008;#0.005,0.5

$WidthRandAmount = 0.5303; #0.0, 1.0

$WidthRandValue = rand(0, $Width*$WidthRandAmount);

$WidthRandResult = rand($Width-$WidthRandValue, $Width+$WidthRandValue);

$WidthRandResult

Yes, you could use something like this with a map range node and some random value…

Hope that helps.

1 Like