Understanding The Geometry Of A Truncated Icosahedron, For Rendering
I'm trying to render a truncated icosahedron like above with clickable zones using Three.js. I found the code for a regular icosahedron var t = ( 1 + Math.sqrt( 5 ) ) / 2; var
Solution 1:
The JSModeler framework can generate a lot of solids, including truncated icosahedron, so maybe the source can help you.
You can find the code here if you find for GenerateTruncatedIcosahedron: https://github.com/kovacsv/JSModeler/blob/master/src/extras/solidgenerator.js
The code creates polygons with five and six vertices, but it is easy to replace them with triangles.
Post a Comment for "Understanding The Geometry Of A Truncated Icosahedron, For Rendering"