npm

Need private packages and team management tools?Check out npm Orgs. »

artnet-weblight

0.0.5 • Public • Published

Artnet Weblight

Use your Browser as an Artnet lighting device!

It supports dimmer, red, green and blue channels as well as border, blur and images.

Installation: npm install -g artnet-weblight Start: weblight

Start from source with node weblight.js. Webinterface will be available at localhost:3000. It uses standard Artnet port 6454.

Devices

Each virtual device has 10 channels. First device 0 starts at channel 1, second device 1 at channel 11... 50 devices are possible on one universe (one instance of this application).

Access devices via address:port/device#, e.g. localhost:3000/0.

Images

The images can be placed in /images. Every image has 10 values starting at channel 6 for each. They can / should be numbered XX.filetype (e.g. 1.png) for preserving correct order. Image 0 is empty. So you can use 25 images.

Channels

  1. Dimmer
  2. Red
  3. Green
  4. Blue
  5. Border size
  6. Blur (for Border)
  7. Image overlay

More

Debugging Artnet

Use http://localhost:3000/0?debug for debugging values.

Frame View

Use http://localhost:3000/frames to see the first four devices on one page with debug info enabled.

Testing

For Testing you can use https://github.com/mtraeger/dmx-webcontrol and configure a (separate) universe like this:

"monitor": {
    "output": {
        "driver": "artnet",
        "device": "localhost"
    },
    "devices": [
        {
            "label": "Monitor 1",
            "type": "artnet-weblight",
            "address": 1
        },
        {
            "label": "Monitor 2",
            "type": "artnet-weblight",
            "address": 11
        },
        {
            "label": "Monitor 3",
            "type": "artnet-weblight",
            "address": 21
        }
    ]
}

Todo

  • Config-File
  • circle radius
  • color correction - adopt to physical devices
  • show identifier (and debug info) via dmx - maybe on image channel
  • web interface for selecting images / videos + maybe upload

install

npm i artnet-weblight

Downloadsweekly downloads

8

version

0.0.5

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability