|
@@ -4,17 +4,21 @@ Eventually, this will be a full-blown planet generator. But, for now, this is a
|
4
|
4
|
hexsphere generator. This shape is also known as a [Goldberg
|
5
|
5
|
polyhedron](https://en.wikipedia.org/wiki/Goldberg_polyhedron) or a [truncated
|
6
|
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.
|
|
7
|
+from generating a [icosahedron](https://en.wikipedia.org/wiki/Icosahedron) whose
|
|
8
|
+sides are split N times (for a detail level of N). Then, I calculate the [dual
|
|
9
|
+polyhedron](https://en.wikipedia.org/wiki/Dual_polyhedron) of that shape, which
|
|
10
|
+results in the hexsphere. In its smallest form (detail level of 0), it has 12
|
|
11
|
+pentagon faces. As the detail level increases, it gains more hexagon faces and
|
|
12
|
+becomes more spherical in shape.
|
13
|
13
|
|
14
|
|
-Detail level 0:
|
|
14
|
+Detail level 0 with 12 pentagons:
|
15
|
15
|
|
16
|
16
|
![detail 0](img/detail-0.png)
|
17
|
17
|
|
18
|
|
-Detail level 8:
|
|
18
|
+Detail level 1 with 12 pentagons and 30 hexagons (AKA. a soccer ball):
|
|
19
|
+
|
|
20
|
+![detail 1](img/detail-1.png)
|
|
21
|
+
|
|
22
|
+Detail level 8 with 12 pentagons and 655,350 hexagons:
|
19
|
23
|
|
20
|
24
|
![detail 8](img/detail-8.png)
|