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

Add versor.interpolate(a,b) #4

Closed
Fil opened this issue Mar 10, 2019 · 1 comment
Closed

Add versor.interpolate(a,b) #4

Fil opened this issue Mar 10, 2019 · 1 comment

Comments

@Fil
Copy link
Member

Fil commented Mar 10, 2019

A priori it would be just syntactic sugar over what we have already. But of course it's more complicated than it seems!

Useful as in https://observablehq.com/@d3/world-tour

Fil added a commit that referenced this issue Mar 11, 2019
Use @mbostock's new implementation from https://observablehq.com/@d3/world-tour
Add Versor.multiply, Versor.dot
Keep the old API for the moment
TBD: versor.delta()
Ref: #4
@Fil
Copy link
Member Author

Fil commented Mar 11, 2019

The new slerp branch tries that. Not finished.

TBD: find how to do versor.delta() the right way.

Test at: https://observablehq.com/d/cdf201f1465224aa

@Fil Fil closed this as completed in 113fe0e Jan 1, 2020
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

1 participant