Unicolour
- Introduce pigments, which can be constructed from either absorption k and scattering s coefficients (two-constant) or a reflectance curve r (single-constant)
- Enable
Unicolour
creation from a list of pigments and their concentrations - Add
.Palette()
as an alternative to.Mix()
to easily acquire a range of interpolated colours - Clarify gamut mapping API
colour.IsInDisplayGamut
⟶colour.IsInRgbGamut
colour.MapToGamut()
⟶colour.MapToRgbGamut()
- Add two new gamut mapping options, alongside the default Oklch chroma reduction
- RGB clipping
- WXY purity reduction
- Improve colour vision deficiency API
- e.g.
colour.SimulateProtanopia()
⟶colour.Simulate(Cvd.Protanopia)
- e.g.
- Improve SPD API
- e.g.
new Spd({ { 575, 0.5 }, { 580, 1.0 }, { 585, 0.5 } })
⟶new Spd(575, 5, [0.5, 1.0, 0.5])
- e.g.
- Fix comparison of colours with different configurations
- Rename configuration property
colour.Config
⟶colour.Configuration
Unicolour.Datasets
- Add a dataset of pigments created from two-constant measurements (Artist Paint Spectral Database)
Unicolour.Experimental
- Introduce new package of experimental additions
- Add single-constant pigment generation from any colour
- Add Spectral.js implementation, extended to be able to mix more than two colours
🎁 NuGet
- 🌈 Wacton.Unicolour
5.0.0
- 🔮 Wacton.Unicolour.Datasets
3.0.0
- 🥽 Wacton.Unicolour.Experimental
1.0.0