Advanced
interpolate has a few different ways of being used
The options for the interpolate function can be left out. It has a single property, limits
which determines how to behave if interpolation amount exceeds 0..1.
- ‘clamp’: clamp returned value to within A & B (inclusive). This is the default.
- ‘wrap’: value wraps from end to start
- ‘ignore’: allow return values which exceed A & B.
For example: