ncube - A Generalized Hypercube Visualizer

ncube allows you to visualize hypercubes of arbitrary dimensions. It works by rotating the hyperdimensional vertices and applying a chain of perspective projections to them until the 3rd dimension is reached. Everything is generated in real time just from the dimension number.

Features

Demo

But what am I actually visualizing?

Let's use the 7-cube demo GIF above as an example. In that specific case, you are looking at: - A 3 dimensional perspective projection of... - a 4 dimensional perspective projection of... - a 5 dimensional perspective projection of... - a 6 dimensional perspective projection of... - a 7 dimensional hypercube undergoing a rotation about the q1q4 (X-W1) and q2q3 (Y-Z) orthogonal planes.

Installation

Download the pre-built binaries

Pre-built binaries for Windows, Linux, MacOS can be found in the releases page.

Install from crates.io

Install cargo and run the command: cargo install ncube

Install from source

Install cargo, clone the repository and run the command: git clone https://github.com/ndavd/ncube cd ncube cargo install --path .

Uninstall

cargo uninstall ncube