ociaw / polyhedrator

A polyhedron generator and viewer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Polyhedrator

Polyhedrator is a polyhedron generator and viewer. It uses Conway Polyhedron Notation to represent transformations on polyhedrons.

Screenshot of a polyhedron with formula dkdkdkdkdkdkdkdI

Polyhedrons can be seeded from the 5 Platonic solids:

  • Tetrahedron
  • Cube
  • Octahedron
  • Dodecahedron
  • Icosahedron

Then each operator is applied right to left. Currently, the following operators are supported:

  • Ambo
  • Dual
  • Kis (n)

Kis may take a parameter n, which restricts it to only operating on faces with n number of sides. Several other operators can be constructed with this set, such as truncation: dkd.

Running

Install Rust, clone this repository, and execute cargo run.

Platform Support

Tested only on Windows 10, however since it uses WebGPU for rendering, it should Just Work on Linux and macOS.

About

A polyhedron generator and viewer


Languages

Language:Rust 97.9%Language:GLSL 2.1%