Snub Cube, version 1.0, 2025-08-15
Rolf Puetter
The snub cube is an Archimedean solid with 6 squares and 32 equilateral triangles. It can be obtained from the cube in two steps:
 
1) Translate the six squares of a cube in direction of their outward normals until squares have arisen between their edges 
and equilateral triangles between their vertices. A new (Archimedean) solid has been formed, the rhombicuboctrahedron, 
possessing 8 equilateral triangles and 6+12=18 squares.
2) Rotate the 6 squares stemming from the cube by ca. 16.5° about their outward normal. The new-formed squares from step 1) 
will become scew and can be divided into two equilateral triangles by inserting the smaller diagonal. So we end with 6 squares 
and 8 + 2*12= 32 triangles.

With this program, you can perform step 1) by pressing the [+] key repeatedly. 
Step 2) comes in 2 variants: rotations in the positive or negative  sense (keys [l] or [r]). 
This yields the two mirror-image variants of the snub cube.


Controls:

arrow left and right:		rotate polyhedron about the z-axis
arrow up and down:		rotate polyhedron about the y-axis
[(],[)]				rotate about the x-axis
[n]:				begin from cube with edge length 2
[+]:                            translate the six squares of the initial cube by 0.1 outward 
[-]:				translate six squares inward
[l]:				rotate squares about their central outward normal about 0.5 degrees
[r]:				rotate	about -0.5 degrees
[/]:				zoom out
[*]:				zoom in 
blank:				show/hide hidden lines
[=]				colors on/off

h is the distance of the centers of the 6 squares from the origin. phi is the angle of rotation.
d1 is the edge length of the triangles. d2 and d3 are the lengths of the diagonals of the (skew) quadrilaterals formed by
two edges which were neighbors in the original cube.