Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support for Vec3 #38

Closed
morandd opened this issue Jun 16, 2017 · 1 comment
Closed

support for Vec3 #38

morandd opened this issue Jun 16, 2017 · 1 comment

Comments

@morandd
Copy link

morandd commented Jun 16, 2017

THREE.js and AFrame interchange between strings and Vec3 objects e.g
3 3 3 and {x:3, y:3, z:3}

I've been handling this using my own home-rolled interpolator functions with attrTween, but this seems like a straighforward feature to consider adding to stock d3.

@mbostock
Copy link
Member

Not sure I understand this request; you’ll need to provide a more specific example of the functionality you want. This library isn’t intended to support parsing or interchange between formats, though you can interpolate strings with embedded numbers (d3.interpolateString) and arrays (d3.interpolateArray) or objects (d3.interpolateObject).

That said, perhaps you are asking for interpolation of typed arrays? I’ve opened #39 to track that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants