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

d3.interpolateTransform that takes a matrix.

Open mbostock opened this issue 8 years ago • 0 comments

I’d like a version of d3.interpolateTransform that, instead of taking a transform string as d3.interpolateTransformCss and d3.interpolateTransformSvg do, takes an array of six numbers [a, b, c, d, tx, ty] in the same manner as the matrix transform function.

This would potentially eliminate the need for separate CSS- and SVG-specific transform methods, in conjunction with changing how the transform style and attribute is handling in d3-transition (d3/d3-transition#72).

mbostock avatar Jul 31 '17 21:07 mbostock