Skip to main content

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

Project description

Textual Window banner

Textual-Color-O-Matic

badge badge badge badge

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

Your browser does not support the video tag.

Questions, Issues, Suggestions?

Use the issues section for bugs or problems, and post ideas or feature requests on the TTY group discussion board.

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-1.0.1.tar.gz (131.2 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-1.0.1-py3-none-any.whl (35.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: textual_coloromatic-1.0.1.tar.gz
  • Upload date:
  • Size: 131.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for textual_coloromatic-1.0.1.tar.gz
Algorithm Hash digest
SHA256 4a4ec2049f2fdaaa6ed983a05a359cfc7dd015be2b4b894cc908d01af05b5f45
MD5 c69a7911bbb8b5986415f7bdb801232f
BLAKE2b-256 14aea2f66c1f6e8cfa799be7bfadb00cea16db71666f7524b91da3ff8cc279b4

See more details on using hashes here.

Provenance

The following attestation bundles were made for textual_coloromatic-1.0.1.tar.gz:

Publisher: release.yml on edward-jazzhands/textual-coloromatic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for textual_coloromatic-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2124c3f686c1efba622e51847f4f4c7b2d7dc58b22899c6c19cf6d6febcc58b0
MD5 8d4acfb209f7133124d23431bde2d18a
BLAKE2b-256 47e1823d747b3a939316af3aa14d47b80f34d15497b6112154eff3f5b455bb61

See more details on using hashes here.

Provenance

The following attestation bundles were made for textual_coloromatic-1.0.1-py3-none-any.whl:

Publisher: release.yml on edward-jazzhands/textual-coloromatic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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