npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

artnet-weblight

v1.0.2

Published

Artnet-Weblight Device Server - Use your Browser as an Artnet lighting device!

Downloads

9

Readme

NPM

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 and so on...

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 dmx-values where it is visible. The images can/should be numbered XX.filetype (e.g. 1.png) for preserving correct order.

Image 0 is empty. So you can use 25 images. Images are channel 6.

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.

Configure Frame view with params count (default 4) and debug (default true). Starting device can be varied by using another frame-id, e.g. /frames/10.

Example: http://localhost:3000/frames/10?count=5&debug=false

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
        }
    ]
}

Notes

Some sort of color correction can be done by using the dimmer channel to reduce the overall brightness of the rgb channels. Dimming down to e.g. 80% can bring the monitor colors more towards your physical devices.

Todo

  • Config-File
  • circle radius
  • color correction - adopt to physical devices (e.g. by predefined dimmer factor to reduce collor brilliance)
  • show identifier (and debug info) via dmx - maybe on image channel
  • web interface for selecting images / videos + maybe upload