Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/graysonarts/pixb
https://github.com/graysonarts/pixb
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/graysonarts/pixb
- Owner: graysonarts
- Created: 2016-06-20T02:32:37.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-07-17T15:17:12.000Z (over 8 years ago)
- Last Synced: 2024-04-27T00:42:47.753Z (8 months ago)
- Language: JavaScript
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pixb
## Usage
Create a file called .env in the directory where you will be running the
script from. It should contain the following:```
LISTEN_PORT=8000
LED_PIN=6
LED_COUNT=8
```Change the values to suit your board. And then run `npm start`
## Triggering effects
It's all done by hitting urls, which makes it easy to trigger from things like
reveal.js.### Supported Effects
* `/glitter` - A sparkly, glittery effect
* `/blink-test` - Blink all the leds on and off at 2hz
* `/rainbow` - Rainbow across the leds
* `/` - turn off effects### Cylinder Spiral Effect
The `/rainbow` endpoint has a special mode that is enabled by adding
`COLUMN_LENGTH` and `ROW_COUNT` to the `.env` file. This will cause the
leds to spiral down a cylinder. This is a special case for a specific
project I'm working on.*This hasn't been tested yet because I'm still developing the device*