Skip to content

Instantly share code, notes, and snippets.

@behreajj
Created June 25, 2017 17:45
Show Gist options
  • Select an option

  • Save behreajj/37f3e8dcf0d13717dbb9f50087df9afd to your computer and use it in GitHub Desktop.

Select an option

Save behreajj/37f3e8dcf0d13717dbb9f50087df9afd to your computer and use it in GitHub Desktop.
Color Gradients 2-13
float smootherStep(float origin, float dest, float step) {
return map(step * step * step * (step * (step * 6 - 15) + 10),
0, 1, origin, dest);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment