https://github.com/temperlang/prismora
Multilanguage color transformation library
https://github.com/temperlang/prismora
Last synced: 6 months ago
JSON representation
Multilanguage color transformation library
- Host: GitHub
- URL: https://github.com/temperlang/prismora
- Owner: temperlang
- Created: 2024-02-22T23:45:54.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-06-05T19:26:05.000Z (6 months ago)
- Last Synced: 2025-06-10T18:28:39.525Z (6 months ago)
- Size: 56.6 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Prismora
A cross-language color transformation library. Some intended features:
- Color formatting
- Translation between spaces like RGB, HSV, and Oklab
- Color to grayscale
- Color gradients
- Default behavior supporting human perceptual expectations
The current focus excludes opacity/alpha, but I might ought to work out a plan
for that, too.
Being made in Temper, Prismora supports the following programming languages
automatically:
- C\#
- Java
- JS
- Lua
- Python
- Rust
- Hopefully more in the future as well
This library is also a testing ground for how well we can support specific
language needs. For example, it would be nice to support NumPy arrays of colors
out of the box for Python. This library might help figure out what Temper still
needs for things like that.