Skip to content

A renderer of all unique vertex colorings of a cube implemented in Python using POV-Ray

Notifications You must be signed in to change notification settings

Mapiarz/cube-vertex-colorings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cube Vertex Colorings

Simple app for generating and rendering all orbits (i.e. colorings modulo rotations) of cube vertices using the known 24 octahedron rotational symmetries.

Installation

POV-Ray must be installed and accessible via PATH.

No 3rd party Python dependencies.

Tested on Python 3.11

Usage

python app.py number_of_colors

Between 1 and 4 colors are supported. Can extend that number by adding more colors to COLOR_MAP in rendering.py.

Example

All 23 (per Burnside's lemma) distinct 2-color colorings of cube vertices:

About

A renderer of all unique vertex colorings of a cube implemented in Python using POV-Ray

Resources

Stars

Watchers

Forks