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

Spring-electrical coordinate solver #623

Open
4 tasks
maxitg opened this issue Mar 10, 2021 · 0 comments
Open
4 tasks

Spring-electrical coordinate solver #623

maxitg opened this issue Mar 10, 2021 · 0 comments
Labels
feature New functionality, or change in existing functionality visualization Has to do with visualization code, such as `WolframModelPlot`

Comments

@maxitg
Copy link
Owner

maxitg commented Mar 10, 2021

The problem

To make evolution videos #443, we need to determine vertex coordinates in each frame. This can be done using the spring-electrical simulator, where vertices are considered charged particles connected by springs corresponding to edges.

We need code that will take a single hypergraph history and produce a list of frames, each containing coordinates of all vertices.

Possible solution

There is a partial implementation in the evolutionVideo branch.

Ideally, we want an n log n GPU implementation. But it will take a few steps to get there:

  • n^2 CPU implementation (C++ or compiled WL)
  • n log n CPU implementation (C++ or compiled WL)
  • n^2 GPU implementation
  • n log n GPU implementation

It would be nice to expose this as separate property in case users want to do something else with these coordinates or use a custom renderer.

Additional context

To create evolution videos, we will also need to figure out the self-loops' orientation, as we cannot allow it to jump around frame-to-frame. But that will be a separate issue.

@maxitg maxitg added feature New functionality, or change in existing functionality visualization Has to do with visualization code, such as `WolframModelPlot` labels Mar 10, 2021
@maxitg maxitg added this to the Project Yellowstone milestone Mar 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New functionality, or change in existing functionality visualization Has to do with visualization code, such as `WolframModelPlot`
Projects
None yet
Development

No branches or pull requests

1 participant