Truncated Cuboctahedron, version 1.0, 2025-10-15
Rolf Pütter

The truncated cuboctrahedron is an Archimedean solid with 8 regular hexagons, 6 regular octagons and 12 squares as faces.
It can be derived from the cube by cutting off the vertices and edges simultaneously. By continuing the process, one arrives at
the truncated octahedron, another Archimedean solid.
In this program, the z-axis is vertical, the y-axis points left to right, the negative x-axis is the direction of sight.
The number displayed after "Hexagon" is the edge length h of the regular hexagons which arise at the vertices of the cube.
The initial cube has an edge length of 4 (h=0). For h=1.05, it's the truncated cuboctahedron, for h=1.41, the truncated
octahedron appears.


Controls:

arrow left and right:		rotation about z-axis
arrow up and down:		rotation about y-axis
[(] and [)]:			rotation about x-axis
blank:				show/hide hidden lines
[=]:				show/hide colors
[*]:				zoom in
[/]:				zoom out
[+]:				increase edge length of hexagons
[-]:				decrease edge length of hexagons 