Pyrite is a mineral with a cubic crystal system that exhibits a wide variety of crystal shapes (crystal habit). The most common shapes are cube, octahedron, and pentagonal dodecahedron (pyritohedron), either as individual habit or in various combinations. I created a simulator to calculate the shapes of these crystal habit and compared the results with actual pyrite crystals.
This animation creates 5 types of regular polyhedra and 13 types of semi-regular polyhedra, for a total of 18 types, all deformed in a series of steps.
This animation creates 5 types of regular polyhedra, 4 types of regular star polyhedra and 5 types of regular compounds for a total of 14 types, all deformed in a series of steps.