4 releases (breaking)
Uses new Rust 2024
new 0.4.0 | Apr 10, 2025 |
---|---|
0.3.0 | Apr 7, 2025 |
0.2.0 | Apr 5, 2025 |
0.1.0 | Apr 4, 2025 |
#377 in Math
341 downloads per month
115KB
2.5K
SLoC
subsphere
Sphere tessellation toolkit
This crate provides a general, easy-to-use API for working with tessellated spheres, i.e. spheres whose surface is partitioned into polygonal cells. It includes implementations for a variety of such tessellations.
Features
-
Implicit Representation: Instead of storing geometry data directly, the tessellations, and the elements within them, are represented implicitly. They are compact zero-allocation
Copy
types that can be used to generate geometry on the fly. This lets you work with massive tessellations using very little memory. -
Versatility: This crate allows you to explore a huge variety of tessellations, all sharing a common API. There's a bunch of adjustable parameters and you're free to mix-and-match topologies and projections to build the tessellation that works best for your needs.
-
Spherical Geometry: In the world of
subsphere
, there is only one geometric space: the sphere. All objects follow the contours of the sphere, and all calculations correctly account for this.