Go to file
2020-01-19 01:24:04 -05:00
docs Add _config.yml to docs/ 2020-01-19 01:24:04 -05:00
img Add detail 1 screenshot to README 2019-02-09 18:53:30 -05:00
src Add shape bin files, shape selection 2020-01-19 01:17:25 -05:00
.gitignore First commit, sphere with individually painted faces 2019-02-03 04:02:39 -05:00
package.json Add shape bin files, shape selection 2020-01-19 01:17:25 -05:00
README.md Add detail 1 screenshot to README 2019-02-09 18:53:30 -05:00
webpack.config.js Add shape bin files, shape selection 2020-01-19 01:17:25 -05:00

Hexsphere Generator

Eventually, this will be a full-blown planet generator. But, for now, this is a hexsphere generator. This shape is also known as a Goldberg polyhedron or a truncated icosahedron. It is made from generating a icosahedron whose sides are split N times (for a detail level of N). Then, I calculate the dual polyhedron of that shape, which results in the hexsphere. In its smallest form (detail level of 0), it has 12 pentagon faces. As the detail level increases, it gains more hexagon faces and becomes more spherical in shape.

Detail level 0 with 12 pentagons:

detail 0

Detail level 1 with 12 pentagons and 30 hexagons (AKA. a soccer ball):

detail 1

Detail level 8 with 12 pentagons and 655,350 hexagons:

detail 8