Skip to content
/ orbital Public

Orbital is a game designed to be played on LED strips

License

Notifications You must be signed in to change notification settings

Pecamo/orbital

Repository files navigation

Orbital

Orbital is a game designed to be played on addressable LED strips, on any one dimensional array of lights.

Control a pixel and shoot others!

Install

Install npm packages:

npm install

Compile typescript:

npm run build

You can use a Raspberry Pi or an ESP to control some SK6812/ws2812b RGBW LED strips.

If you use a Raspberry Pi: Install and run the custom display server

If you use an ESP32 or ESP8266: Install and run WLED

Copy .env configuration:

cp .env.dist .env      # For Rpi-SK6812-ws2812b-RGBW-http-server
cp .env.dist.wled .env # For WLED

You may want to edit the .env file according to your network or preferences

Run

npm start

Docker

docker-compose build
docker-compose up

Invert the LED strip display:

npm start -- --invert

Systemd Services

Some services example are located in /services.
You can install them in /etc/systemd/system on your Raspberry Pi.
You may need to change them a bit depending on your configuration.

Develop

You can compile in watch mode with:

npm run watch