Skip to main content

A Textual widget for displaying ASCII art with color effects and animations.

Project description

textual-coloromatic

badge badge badge badge badge Framework: Textual

Textual-Color-O-Matic is a Textual library for color animations and tiling effects.

It is designed to make it easy to animate strings with cool color effects, as well as set background patterns that can function as wallpaper or backdrops for widgets.

Features

  • Color system built on Textual's color system. Thus, it can display any color in the truecolor/16-bit spectrum, and can take common formats such as hex code and RGB, or just a huge variety of named colors.
  • Make a gradient automatically between any two colors, or through any number of colors.
  • Animation system that's simple to use. Just make your gradient and toggle it on/off. It can also be started or stopped in real-time.
  • Comes with 3 different animation modes - "gradient", "smooth_strobe", and "fast_strobe".
  • Comes with 18 built-in patterns and a pattern constructor argument for easy setting.
  • Has a repeat constructor argument for creating your own patterns or tiling any art.
  • Fully reactive - update the loaded ASCII art change patterns in real-time. Will resize automatically when width or height is set to auto.
  • Animation settings have a variety of variables to modify, including horizontal, reverse, FPS, and quality.
  • Included demo app to showcase the features.

Demo App

If you have uv or Pipx, you can immediately try the demo app:

uvx textual-coloromatic
pipx run textual-coloromatic

Documentation

Click here for documentation

Video

https://github.com/user-attachments/assets/863114a0-1cad-4b1e-bfeb-ed04736c4bce

Questions, issues, suggestions?

Feel free to post an issue.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

textual_coloromatic-0.2.2.tar.gz (105.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

textual_coloromatic-0.2.2-py3-none-any.whl (36.3 kB view details)

Uploaded Python 3

File details

Details for the file textual_coloromatic-0.2.2.tar.gz.

File metadata

  • Download URL: textual_coloromatic-0.2.2.tar.gz
  • Upload date:
  • Size: 105.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.13

File hashes

Hashes for textual_coloromatic-0.2.2.tar.gz
Algorithm Hash digest
SHA256 514636f5273d2db63934260785b7382fd75b041770d251c87595498c2a0aeee7
MD5 bca9e3f8266b34e7f5dc688ad4fa4f94
BLAKE2b-256 e9aaa6881bb0f6b6d0704cbc62718086155fd83ee0393affef61ed7927ab740f

See more details on using hashes here.

File details

Details for the file textual_coloromatic-0.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for textual_coloromatic-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7fd416a0303d0ca93ee110f61d6cee688da012d5cdf3ee6fadfefd0c81561331
MD5 95fec894035d38e346836c0fb7772b38
BLAKE2b-256 87c941fa61960f5bff3e9a0756e62157290c7de8f04430bb78f724b24e70d096

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page