-
Notifications
You must be signed in to change notification settings - Fork 1
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
Comments
Is this to be handled by three.js or upstream? I can imagine a variety of places where this could conceivably occur. |
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. |
So, d3.js makes this kind of thing simple: https://github.com/d3/d3-transition |
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) |
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.
The text was updated successfully, but these errors were encountered: