Skip to content

Instantly share code, notes, and snippets.

@joshuazt
Last active March 1, 2022 06:27
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/2db1e67f528b2b13ce11a88aaecfa275 to your computer and use it in GitHub Desktop.
Save joshuazt/2db1e67f528b2b13ce11a88aaecfa275 to your computer and use it in GitHub Desktop.
vector cd = point(1, 'Cd', @ptnum);
v@P += normalize(v@N) * fit01(cd.r, -0.5, 0.5) * chf('scale');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment