|
@@ -0,0 +1,20 @@
|
|
1
|
+# Hexsphere Generator
|
|
2
|
+
|
|
3
|
+Eventually, this will be a full-blown planet generator. But, for now, this is a
|
|
4
|
+hexsphere generator. This shape is also known as a [Goldberg
|
|
5
|
+polyhedron](https://en.wikipedia.org/wiki/Goldberg_polyhedron) or a [truncated
|
|
6
|
+icosahedron](https://en.wikipedia.org/wiki/Truncated_icosahedron). It is made
|
|
7
|
+from generating a [icosahedron](https://en.wikipedia.org/wiki/Icosahedron) which
|
|
8
|
+is split N times for a detail level of N. The [dual
|
|
9
|
+polyhedron](https://en.wikipedia.org/wiki/Dual_polyhedron) of that shape is
|
|
10
|
+calculated which results in the hexsphere. In its smallest form (detail level of
|
|
11
|
+0), it has 12 pentagon faces. As the detail level increases, it gains more
|
|
12
|
+hexagon faces and becomes more spherical in shape.
|
|
13
|
+
|
|
14
|
+Detail level 0:
|
|
15
|
+
|
|
16
|
+![detail 0](img/detail-0.png)
|
|
17
|
+
|
|
18
|
+Detail level 8:
|
|
19
|
+
|
|
20
|
+![detail 8](img/detail-8.png)
|