polyhedra-viewer icon indicating copy to clipboard operation
polyhedra-viewer copied to clipboard

[Enhancement] More advanced color coding for polyhedra

Open tesseralis opened this issue 5 years ago • 0 comments

Right now the faces on the polyhedra are colored solely on their number of sides. This is simple but this loses us contextual information on what each face represents. For example, look at the wikipedia images of a rhombicuboctahedron and a snub cube:

rhombicuboctahedron snub cube

They have cube and triangle faces colored differently based on whether they are "cap" faces from the original solid they were based on or "edge" faces if they were created in the expansion.

Ideally, this would come in a consistent theme that associates different tints, shapes, or materials with a specific role. For example, maybe faces that make up a cupola cap are more saturated than ones that make up the sides of a prism or antiprism.

This would also cause us to need to change what we allow for configurations. Perhaps instead of allowing any color for a polyhedron we allow from a specific set of themes. We'd also need to change the way the color transformations are calculated.

tesseralis avatar Feb 24 '20 00:02 tesseralis