d3 / d3-interpolate

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

Home Page:https://d3js.org/d3-interpolate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Interpolation questions

codepunkt opened this issue · comments

Are all the interpolations linear?
Is it possible to do easing or even physics-based (e.g. spring based using stiffness and damping)?

Most of the interpolators are linear, but not all (such as interpolateZoom and interpolateRgbBasis). See d3-ease for easing.

If you have a question about D3’s behavior and want to discuss it with other users, consider the d3-js Google Group or joining the d3-js Slack.

Thank you! 🤗

Thanks @mbostock. Will do! :)