From 35bb35415a0b9c6905a416f572bfbdafa42cc06f Mon Sep 17 00:00:00 2001 From: Tyler Hallada Date: Sat, 9 Feb 2019 18:47:20 -0500 Subject: [PATCH] Add detail 1 screenshot to README --- README.md | 20 ++++++++++++-------- img/detail-1.png | Bin 0 -> 10872 bytes 2 files changed, 12 insertions(+), 8 deletions(-) create mode 100644 img/detail-1.png diff --git a/README.md b/README.md index ab68079..a223705 100644 --- a/README.md +++ b/README.md @@ -4,17 +4,21 @@ 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. +from generating a [icosahedron](https://en.wikipedia.org/wiki/Icosahedron) whose +sides are split N times (for a detail level of N). Then, I calculate the [dual +polyhedron](https://en.wikipedia.org/wiki/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: +Detail level 0 with 12 pentagons: ![detail 0](img/detail-0.png) -Detail level 8: +Detail level 1 with 12 pentagons and 30 hexagons (AKA. a soccer ball): + +![detail 1](img/detail-1.png) + +Detail level 8 with 12 pentagons and 655,350 hexagons: ![detail 8](img/detail-8.png) diff --git a/img/detail-1.png b/img/detail-1.png new file mode 100644 index 0000000000000000000000000000000000000000..1cddaade4753310bcfa69cb00b7aae81e5b480c6 GIT binary patch literal 10872 zcmc(FiC0rs7w=61<^~}o1Q{bk7$OA$LFA$c2mxd;C|U$XhKit~auF5Oh*2+)016e# zAW^JJu`Mc2bz+Di7DY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