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
cargo install polyblade
Note that the webgl
demo is available here, but is notably less performant than native code.
To run this software, simply clone the repository and use cargo run --release
.
For the webgl
build, run trunk serve --release
.
- Ambo
- Kis
- Truncate
- Ortho
- Bevel
- Expand
- Snub
- Join
- Zip
- Gyro
- Meta
- Needle
- Replace all hardcoded presets with prisms, antiprisms, and pyramids that have undergone modification.
- Implement Vertex Coloring and Edge Coloring
- Fix Fibonnaci lattice distribution for new shapes
- Tesselations / tilings using Wythoff
- "Undo" button
- Save and load animations and cycles of
Transaction
s - Schlegel diagrams
- Color pickers
- Pokedex entries for polyhedra, point users to wikipedia or polytope wiki when they stumble onto a known entry
- Basic functionality
- Switch from
RON
toJSON
- Expand pokedex to include more shapes and improve overlap on isomorphic conway strings
- Fix pokedex on WASM
- Create WASM deployment and add to website as git submodule
- Fix
time
on web fordual
and related transitions - WebGL compat
- WebGPU compat
- Fix
- Setup some basic CI integrations