From 3d368886eba3718d26ffb9ea63796ee0c6e4898b Mon Sep 17 00:00:00 2001 From: ozwaldorf Date: Fri, 5 May 2023 13:38:41 -0400 Subject: [PATCH] docs: add readme for luts --- README.md | 1 + lut/README.md | 91 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 92 insertions(+) create mode 100644 lut/README.md diff --git a/README.md b/README.md index 2b6f129..c0db899 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,7 @@ - [Gimp](#gimp) - [Inkscape](#inkscape) - [Krita](#krita) + - [Lookup Tables](/lut/README.md) - Color pickers - [macOS Color Picker](#macos-color-picker) - [Sip](#sip) diff --git a/lut/README.md b/lut/README.md new file mode 100644 index 0000000..9aa0cd7 --- /dev/null +++ b/lut/README.md @@ -0,0 +1,91 @@ +

+ Logo
+ + Catppuccin Lookup Tables (Hald-CLUT) + +

+ +

+ +

+ +## Previews + +> Generated using `noise_2` variant + +
+🌻 Latte + +
+
+🪴 Frappé + +
+
+🌺 Macchiato + +
+
+🌿 Mocha + +
+
+⚫ Oled + +
+ +## Usage + +Images: + +```bash +magick input.png src/noise_2/mocha.png -hald-clut output.png +``` + +Videos: + +```bash +ffmpeg -i input.mkv -i src/noise_2/mocha.png -filter_complex '[0][1] haldclut' output.mp4 +``` + +### Example script + +`apply.sh` is an example script that uses the LUTs provided in `src` to theme an image with each of the flavors. Multiple images and flavors at a time are supported. + +```bash +bash examples/apply.sh -i examples/simon-berger-unsplash.png [-n noise] [-f flavors] +``` + +### (Re)generating LUTs + +Requirements: [cargo-play](https://crates.io/crates/cargo-play), [imagemagick](https://imagemagick.org) + +```bash +# Clone the repo +git clone https://github.com/catppuccin/palette +cd palette + +# Install deps +yarn install # or npm i + +# Run the script +node src/scripts/build_luts.mjs +``` + +## 💝 Thanks to + +- Gingeh for pioneering the process :) + +  + +

+ +

+ +

+ Copyright © 2021-present Catppuccin Org +

+ +

+ +