/cubes

library for manipulating pieces of a cube and figuring out how to put them together.

Primary LanguageRustMIT LicenseMIT

Cubes

Applications for determining how to put a cube together and for creating visualizations of the solution. The Rust version is superior to the others.

Minotaur Cube

Directories

  • cubes-go: Go version of the solver. Reads puzzles in json form and can be downloaded with go get github.com/davekong/cubes/cubes-go

  • cubes-rs: Rust version of the solver and an input program. Reads the puzzles in bincode format which the input program saves the pieces as. Writes the pieces and one of the solutions as OBJ files. All writes are to the local data directory.

  • fortran: Fortran version of the solver. Solves puzzles in the format of the files in the puzzles directory.

  • julia: Julia version of the solver. Puzzles are stored using internal Julia arrays and the application must used in the REPL.

  • puzzles: Puzzles to solve written in a plain text format.

  • utils: A python script for importing solutions to blender, C code for rendering an interactive 3-D visualization of a solution, and a tcl script for creating a puzzle file.