tylerreisinger / prisma

A powerful color representation, manipulation and conversion library that aims to be easy to use.
MIT License
22 stars 5 forks source link

Support f16 "half-precision" using the half crate #13

Open tylerreisinger opened 5 years ago

tylerreisinger commented 5 years ago

Half-precision floating point has 11 bits of precision, which is more than enough for most display-oriented colors. Implementing an optional feature supporting them in prisma could be beneficial to some applications.