Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 959 Bytes

README.md

File metadata and controls

23 lines (18 loc) · 959 Bytes

intune

npm version downloads js-standard-style

Translates a number between two ranges. A must when running animations on factors such as scroll position.

Originally from Framer.

Arguments

  • value :  Input value.
  • [a, a] : The first range of two numbers.
  • [b, b] :  The second range of two numbers.
  • limit : bool. Enable to never return a value outside of the b range.

License

MIT