Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
//define scales
float seed = ch('seed') + @primseed;
@Rand_Pscale = fit01(rand(i@ptnum+seed+225), -ch('Rand_Scale'), ch('Rand_Scale'));
@Uniform_Pscale = chf('Scale');
//apply pscale
@pscale = @Uniform_Pscale + @Rand_Pscale;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment