Crates.io | polyblade |
lib.rs | polyblade |
version | 0.1.0 |
source | src |
created_at | 2024-11-28 17:30:29.167805 |
updated_at | 2024-11-28 17:30:29.167805 |
description | Make shapes dance. |
homepage | |
repository | https://github.com/organizedgrime/polyblade |
max_upload_size | |
id | 1464824 |
size | 6,530,485 |
Polyblade makes it easy to visualize and interact with Polyhedra. I believe that the relationships between both primitive and complex polytopes can be more intuitively understood when experienced visually, and this software aims to demonstrate that.
In particular, emphasis has been placed on making smooth animations for the transitions represented by Conway Polyhedron Notation.
Polyblade runs on WGPU and Iced.
Using the PST distance algorithm for efficient all pairs shortest paths in the unweighted undirected graphs represented by polyhedra, none of the vertex position data is deterministic. Instead, this distance matrix is used to create spring forces between every node pair $v_i, v_j$ where $v_n \in G$. Proportional to their distance in the graph structure $G$, the springs inflate the polyhedron to proportional size, allowing us to visualize these strucutres even when they break convexity.
To run this software, simply clone the repository and use cargo run --release
.
The webgl
demo is available, but is notably less performant than native code.
Transaction
sRON
to JSON
time
on web for dual
and related transitions