d3-interpolate icon indicating copy to clipboard operation
d3-interpolate copied to clipboard

Interpolate numbers, colors, strings, arrays, objects, whatever!

Results 17 d3-interpolate issues
Sort by recently updated
recently updated
newest added

Bumps [terser](https://github.com/terser/terser) from 5.7.0 to 5.14.2. Changelog Sourced from terser's changelog. v5.14.2 Security fix for RegExps that should not be evaluated (regexp DDOS) Source maps improvements (#1211) Performance improvements in...

dependencies

I've experimented with monotone cubic interpolation (as per the [Steffen method](http://adsabs.harvard.edu/full/1990A&A...239..443S) you reference in d3-shape) and with the array values being evenly spaced, the formula is quite simplified, as long...

See #101. It's a simple change. I'm not aware of any case where allowing a negative duration would be useful—let me know if I'm wrong.

If the starting and ending views are centered on the same point, but the ending width is smaller, the `.duration` property of the returned interpolator is negative. See https://observablehq.com/d/fa1442202b6a7936 Comparing...

cubic Hermite splines ; will be useful for https://github.com/d3/d3-scale-chromatic/issues/28 The difference with interpolateBasis is that this interpolator returns the exact values at the control points; with n = values.length we...

feature

This PR addresses the concerns raised in #42 by following @mbostock's suggestions in the same thread. Specifically: it presents a new function, customInterpolate, that allows users to specify an object...

feature

```js d3.interpolateNumber(0,1)(Infinity) ``` returns `NaN`, while I would expect it to return `Infinity`. Note that replacing https://github.com/d3/d3-interpolate/blob/e8cddfdbd47f4273e7e4e2ecf409691c6154a5e4/src/number.js#L3 with ```js return (b - a) * t + a; ``` would generate...

See https://github.com/d3/d3-scale-chromatic/issues/28

Per https://github.com/d3/d3-interpolate/issues/64#issuecomment-499141634. Though, the difference between this as d3.interpolateRgb.gamma(2.4) is pretty minor.