Skip to content

m2uroy/fadecat

Repository files navigation

Fadecat

Python PyPI - Status License

About Fadecat

Fadecat is an improved version of venaxyt/fade.

There are new color palettes here, as well as a new tilt function. More details can be found in docs. Function allows you to select the gradient slope from to 360°.

Additionally, ANSI support in Windows has been improved, making TrueColor (24-bit) escape codes available.

Getting Started

Install with pip or your favorite PyPI package manager.

pip install fadecat

Let's use an example

To get started, first import the library.

from fadecat import fadecat

Let's use the table from docs/standard-palettes.md and take palette Reef.

Palette Method Preview
Reef .reef() reef

Let's try to use this in our code. You can find out how the API works in docs/how-to-use.md.

print(fadecat.reef("Sea greetings! 🌊", tilt=90))