colorutil
colorutil
ColorUtil is a library that enables working with colors rapidly in Crystal. It also acts as a wrapper around hsluv-crystal, whose api slightly too verbose for my liking.
Note that this is in very early development - many features that I'd like to add haven't been implemented yet. Better documentation is to come soon.
Goals
- Generation of color palettes with user-defined constraints
- Various interpolation methods that look clean
- Monkey-patched extensions that allow interoperability with other libraries (crsfml, etc)
Things that would be neat
- Compile-time color conversion?
Installation
-
Add the dependency to your
shard.yml
:dependencies: colorutil: github: shinzlet/colorutil
-
Run
shards install
Usage
require "colorutil"
Usage instructions are not yet written, as this is a very early stage in development.
Contributing
- Fork it (https://github.com/shinzlet/colorutil/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- Seth Hinz - creator and maintainer
Repository
colorutil
Owner
Statistic
- 1
- 0
- 0
- 0
- 3
- almost 3 years ago
- August 28, 2020
License
MIT License
Links
Synced at
Sun, 22 Dec 2024 09:07:40 GMT
Languages