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.4.tar.gz
(2.3 kB
view details)
File details
Details for the file ws2x-vjsrinivas-0.0.4.tar.gz.
File metadata
- Download URL: ws2x-vjsrinivas-0.0.4.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 |
7642e7058c88afa8f7a98be45b5c9c3a5077d4bb7fbff783e4524e2551a0df28
|
|
| MD5 |
7b191f9b19c36b770c2582a383be70bf
|
|
| BLAKE2b-256 |
46c299d2e840f673bb75aa341aeb81d7fc195bc6c2c63a5698ea6ebd3a110869
|