https://github.com/colinsullivan/joylight
An LED light installation created by the Sullivan family!
https://github.com/colinsullivan/joylight
Last synced: 5 months ago
JSON representation
An LED light installation created by the Sullivan family!
- Host: GitHub
- URL: https://github.com/colinsullivan/joylight
- Owner: colinsullivan
- License: mit
- Created: 2015-01-30T17:32:04.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-01-30T18:12:36.000Z (over 10 years ago)
- Last Synced: 2025-01-05T11:44:26.013Z (6 months ago)
- Language: JavaScript
- Homepage: http://colin-sullivan.net/main/2015/joylight/
- Size: 3.07 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Joylight
This is the code repository for the "Joylight" project, an LED light installation created by the Sullivan family. For more information about the project itself, see [my Joylight post](http://colin-sullivan.net/main/2015/joylight/).

## Getting Started
To run this code, you'll need [Node.js](http://nodejs.org/) installed.
Install dependencies:
$ npm install
With Fadecandy server running, start the `main.js` file:
$ cd src/
$ node main## Running the OPC simulator
To run the simulator, first download and build OpenPixelControl:
$ git clone https://github.com/zestyping/openpixelcontrol.git
$ cd openpixelcontrol/
$ makeThen from the `joylight/` directory, run the simulator pointing to the star layout:
$ ./openpixelcontrol/bin/gl_server ./assets/star_layout.json
Now when running the `main` script, pass the `SIMULATOR` environment variable because the light layout is slightly different in the simulator:
$ cd src/
$ SIMULATOR=1 node mainAnd that's all! Hurray!