Skip to content

Instantly share code, notes, and snippets.

@mattdesl
Last active August 29, 2015 14:06
Show Gist options
  • Save mattdesl/57ac96c400aefba9edd4 to your computer and use it in GitHub Desktop.
Save mattdesl/57ac96c400aefba9edd4 to your computer and use it in GitHub Desktop.
module.exports = function range(min, max, value) {
return (value - min) / (max - min)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment