Add README with screenshots

This commit is contained in:
Tyler Hallada 2019-02-09 18:40:04 -05:00
parent 69ac45b21c
commit 2ddcc0bbd3
3 changed files with 20 additions and 0 deletions

20
README.md Normal file
View File

@ -0,0 +1,20 @@
# 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](https://en.wikipedia.org/wiki/Goldberg_polyhedron) or a [truncated
icosahedron](https://en.wikipedia.org/wiki/Truncated_icosahedron). It is made
from generating a [icosahedron](https://en.wikipedia.org/wiki/Icosahedron) which
is split N times for a detail level of N. The [dual
polyhedron](https://en.wikipedia.org/wiki/Dual_polyhedron) of that shape is
calculated 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:
![detail 0](img/detail-0.png)
Detail level 8:
![detail 8](img/detail-8.png)

BIN
img/detail-0.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

BIN
img/detail-8.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB