Skip to main content

colorwheels - an endless color generator

Project description

colorwheels

An Endless Color Generator

This project is a continuous color generator for Python. We create a palette of a specific color range, a palette of matching colors and similar to serve to a consumer application.

Works great when generating rainbow effects in hobby electronics (RGB LEDs, RGB Panels), and elsewhere. The idea behind is an endless colorwheel for photographers - the wheel continuously turns around to generate the next color.

Here's an example of colorwheels on a keybow, waiting for a keypress.

keybow

All in a few lines of code:

# wheel is initialized and definitions loaded or generated
while True:
    color = wheel.next()
    keybow.set_led(9, color[0], color[1], color[2])
    keybow.show()
    time.sleep(0.1)

Links

About

We are a maker community in Karlskrona, Sweden. We run makerspaces every week, working with Raspberry Pis, Arduinos and other interesting hardware.

This repository is here to support our community of makers. A lot of our achievements are based and inspired by the community at large. We wish to pay back and share our experiences and lessons learned.

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

colorwheels-0.7.2.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

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

colorwheels-0.7.2-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

Details for the file colorwheels-0.7.2.tar.gz.

File metadata

  • Download URL: colorwheels-0.7.2.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

File hashes

Hashes for colorwheels-0.7.2.tar.gz
Algorithm Hash digest
SHA256 ffceb96b2bc2229bca17b58a19fbbc54c498a7049b700bface0ff910745c70c7
MD5 f46418af2d0d8bb03300ebd1c8d29d8d
BLAKE2b-256 59daa1a253ff75e3258b30effcd82c0f591ddcfdd058755c76ede39179a7e3e2

See more details on using hashes here.

File details

Details for the file colorwheels-0.7.2-py3-none-any.whl.

File metadata

  • Download URL: colorwheels-0.7.2-py3-none-any.whl
  • Upload date:
  • Size: 10.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

File hashes

Hashes for colorwheels-0.7.2-py3-none-any.whl
Algorithm Hash digest
SHA256 33b0cd725d4dd5d88aaf54e45e23333f185579a3ae2d5c4cc8ed7dcaffd229c3
MD5 5e345ea983b641318667b801ff477386
BLAKE2b-256 d707032291ac828d0047fc87bd71cc0dd9537837c7b68c0f9daa5b2342bb4ef3

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