Skip to content

Instantly share code, notes, and snippets.

@joshuazt
Created March 26, 2023 22:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joshuazt/a6d69f0d3f2ffe180a6ecdce128e6354 to your computer and use it in GitHub Desktop.
Save joshuazt/a6d69f0d3f2ffe180a6ecdce128e6354 to your computer and use it in GitHub Desktop.
// Get mirrored value from @curveu
float u = (abs(@curveu * - 2 + 1) * -1 + 1) / 2;
// Feed that value in a ramp that defines half of the resulting curve
f@pscale = chramp("point_scale", u);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment