| Crates.io | icosphere |
| lib.rs | icosphere |
| version | 0.2.0 |
| created_at | 2025-05-16 00:25:32.417789+00 |
| updated_at | 2025-05-19 07:33:51.040495+00 |
| description | Subdivided icosahedrons for rendering and meshing, both sparse and tightly packed |
| homepage | |
| repository | https://github.com/ambrosia13/icosphere |
| max_upload_size | |
| id | 1675852 |
| size | 28,423 |
An icosphere is a geodesic sphere made by subdividing the triangles of an icosahedron and normalizing the vertex positions.
This crate provides an easy way to generate icospheres in a format that is directly compatible with GPU rendering. The icospheres generated are optimal and do not duplicate vertices or triangles.
It also provides an abstraction over a level-of-detail version of the icosphere, by layering multiple icosphere subdivisions on top of each other, similar to a quadtree.
Two types of icospheres are implemented: