Giter Club home page Giter Club logo

controlled's Introduction

ControlLED

ControlLED is a user interface for controlling an LED light panel. It allows users to create gradients or custom designs on a 12x12 matrix, save their designs, and connect to a local LED panel.

Use

To create gradients, select a gradient pattern from the 'fade options' on the left. Select your gradient colors by clicking on each square underneath 'Fade Colors', selecting a color from the color picker, and clicking 'Apply color.' Once all the color squares under 'Fade Colors' are selected, you can click on 'Apply Fade' to apply the gradient to the matrix. The 'balanced' checkbox will apply an exponential curve to the gradient, which can look more natural to the eye with certian colors. You can also edit the matrix directly by clicking on the boxes you want to change, finding your color, and clicking apply color. Save a pattern by typing the design name and clicking save. Open previously saved patterns by clicking a pattern on the 'saved' bar on the right. Signing in and adding a local IP address for your led panel will post the color data to the local IP as an array of color hex strings. For an example of hardware implementation see https://github.com/JoelWukusick/LED-panel.

Local Installation

Install Nodejs https://docs.npmjs.com/downloading-and-installing-node-js-and-npm and PostgreSQL https://www.postgresql.org/docs/12/tutorial-install.html this project uses NPM v6.13.4 and PostgreSQL 12.

Clone the repository, and create a config.js file in the database using your PostgreSQL user details.

Install NPM dependencies from the project folder.

$ npm install

Running the build script will bundle the javascript, setup the database, and start the server on port 4000.

$ npm build

controlled's People

Contributors

joelwukusick avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.