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.3.tar.gz (11.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.3-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: colorwheels-0.7.3.tar.gz
  • Upload date:
  • Size: 11.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.3.tar.gz
Algorithm Hash digest
SHA256 7e29af10433463e2c3aa4f9586e54de41f1a2a9bf38fe69bbfaf7fe17d093ad7
MD5 5661458763642c980d1e583a1c027bb1
BLAKE2b-256 d5113e9e88f75897c8601e4e554b9bc801f00dcfa499bd476f194d30ec9fc155

See more details on using hashes here.

File details

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

File metadata

  • Download URL: colorwheels-0.7.3-py3-none-any.whl
  • Upload date:
  • Size: 11.4 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7aba3f9437872d8276294cfb5aacd1dcc3c598335df6106faf8c52acaaeaecff
MD5 a820d6ce567e3e47dc0ee63049e639a1
BLAKE2b-256 bfc8b13e9d1dfab0c14887e3040af5702a39f4b048a212f09184325dfd0a31a9

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