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

3D: morphing manifolds #14

Open
nicklally opened this issue May 24, 2017 · 4 comments
Open

3D: morphing manifolds #14

nicklally opened this issue May 24, 2017 · 4 comments

Comments

@nicklally
Copy link
Collaborator

When a new manifold is created in the 3D view, have it morph from the previous manifold. This will be relatively easy if they have the same number of points, but more difficult if the number differs.

@geoglrb
Copy link
Member

geoglrb commented May 24, 2017

Is this to be handled by three.js or upstream? I can imagine a variety of places where this could conceivably occur.

@nicklally
Copy link
Collaborator Author

I picture it being a simple javascript function that calculates intermediary distances between corresponding points in the initial and modified manifolds (which are store as js objects). Probably using a percentage of the distance to make it 'ease into' the new manifold.

@geoglrb
Copy link
Member

geoglrb commented May 24, 2017

So, d3.js makes this kind of thing simple: https://github.com/d3/d3-transition

@nicklally
Copy link
Collaborator Author

idea: in the 3D view, have a button that allows you to save the current state, which adds it to a clickable list of states. when a previous state is clicked, the manifold morphs into it (will only work on manifolds with the same number of nodes, which makes sense for many topological concepts as they've been described in geography)

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

No branches or pull requests

2 participants