#color #color-space #siege #engine #white #xyz #linear

siege-color

Color management library for the Siege Engine

1 unstable release

Uses old Rust 2015

0.4.0 May 4, 2018

#34 in #xyz

21 downloads per month

MIT license

24KB
616 lines

siege-color

MIT licensed

Documentation is available at https://docs.rs/siege-color

siege-color is a component within the Siege Engine MMO game engine.

The Siege Engine is an MMO game engine on the Vulkan API written in the Rust language.

siege-color provides functionality for color operations including color space conversions and functions for the following colorspaces:

  • cie1931 xyz, cie1931 xyY (standard colorspace for conversion through)
  • sRGB (Standard computer/internet colorspace), linear and gamma corrected
  • LMS (space for converting white points)
  • ACES (Academy color encoding system)
  • rec2020 (high dynamic range colorspace)

Blackbody radiation "color temperature" functionality is also provided.

This library is unfinished and some code may be apocryphal or flat out wrong. Use at your own discresion, or better yet help me get it right.

Dependencies

~0.7–1.3MB
~30K SLoC