GithubHelp home page GithubHelp logo

lamkin / xled_plus Goto Github PK

View Code? Open in Web Editor NEW

This project forked from anders-holst/xled_plus

0.0 0.0 0.0 87 KB

Addons to the XLED package, to create nice effects for Twinkly LED lights

License: MIT License

Python 100.00%

xled_plus's Introduction

XLED Plus - Addons to the XLED package, to create nice effects for Twinkly LED lights

This package relies on the XLED package, which provides a python interface to Twinkly lights.

This XLED Plus packade provides addons to XLED, for making it easier to produce various still or animated, simple or advanced, prerecorded or created in real time, effects on the lights.

Some of the features in this package may eventually make their way into the XLED package, once they fulfil the stricter requirements of quality and stability of XLED. It means that XLED Plus may contain more experimental features, features that only work on some devices, features that changes unpredictably from one day to another, or even outright bugs. On the other hand the development speed might be higher here, and if there is a bug it might be fixed quicker. As usual, all code herein are provided as-is with absolutely no guarantee of its function for any specific purpose. The code in this package is under the MIT license.

Getting started

The easiest way to get started is:

  1. Make sure you have Python installed on your computer.

  2. Download the XLED Plus package, either through GitHub, or by doing

pip install xled_plus
  1. Make sure your Twinkly lights are on-line, i.e connected to the same WiFi as your computer.

  2. Try out some of the sample effects in the "xled_plus/samples/" directory:

python -m xled_plus.samples.spectrumlight

where "spectrumlight" can be replaced by another filename in that directory minus the ".py" suffix. It should find your Twinkly lights, upload the effect, and start playing it.

  1. Also, check out the discussion under the "Discussions" tab in this repository on GitHub, where the "Daily effects" thread contains comments on the samples and gives some hints on how the effects can be modified.

  2. You can also try the interactive, 3D, color picker: You need first to download the "colorsphere" package

pip install colorsphere

Then you can start it with

python -m xled_plus.xled_colorpicker

which should bring up a window on your computer with a spherical color body. Hovering with the mouse over it will display the color on the lights. Grab and drag the surface to rotate the sphere. Click on it to upload the color to your lights.

xled_plus's People

Contributors

anders-holst 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.