A simple simulator for WS2812B-style LED strips
Project description
LEDStrip
Python simulation of WS2812 (or probably other WS-type LEDs) LED strips commonly used by NeoPixel API.
Example
from led import LEDSim
import cv2
import numpy as np
pixel = LEDSim()
pixel.fill((0,0,0))
p = 0
for r in range(1,6):
for g in range(1,6):
for b in range(1,6):
pixel[p] = (r,g,b)
p += 1
pixel.visualize()
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
ws2x-vjsrinivas-0.0.2.tar.gz
(2.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ws2x-vjsrinivas-0.0.2.tar.gz.
File metadata
- Download URL: ws2x-vjsrinivas-0.0.2.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3.post20200330 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
392791b03e70bf9159be865787d50a2e55a640313267a4382923d2d2eb50579c
|
|
| MD5 |
4dee335b48cddc0465cc070f9907bbd0
|
|
| BLAKE2b-256 |
9df52a0869cc2893b34c0ab858762ec3fa5133813a03427f4b6491f021ec0a84
|
File details
Details for the file ws2x_vjsrinivas-0.0.2-py3-none-any.whl.
File metadata
- Download URL: ws2x_vjsrinivas-0.0.2-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3.post20200330 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a6574975540cf38edd2a1c15397564e2b737cab6801054ffd610deec9951a7ca
|
|
| MD5 |
884edda14548b1aa3ffd264d76147e8c
|
|
| BLAKE2b-256 |
49b606ea3eef1c35c33354d742c6c438442861f8b222d46e65f8e3923489bb32
|