Giter Site home page Giter Site logo

glowy-box-of-lights's Introduction

Glowy Box of Lights

Live coded neopixel, music reacting light box.

glowy-box-of-lights's People

Contributors

mr-eggleton avatar

Watchers

James Cloos avatar  avatar Colin Smith avatar

glowy-box-of-lights's Issues

Possible structure using RPyC

  • Server process runs on the Pi with the lights

    • Process the configuration of lights into a pixel array
    • Has an RPyC service running with exposed methods for each stage of the process and the member variables needed which can be swapped for another one with the same interface
    • Has a RPyC service for registering events as well (so we can test without music)
    • Service also starts at least one client for each processing step
    • Starts event listeners and when event happens calls the process steps
  • Client has same repo and one instance is started on server start

    • their is a client config file which specifies the IP and port for the RPyC server
    • Client opens any of the process files and can run / edit it
    • those files use the if __name__ == "__main__": trick to
      • run a unit test that makes sure the outputs produced are of the correct type and ranges (doesn't care about specific expected values, just does it porduce sensible things under most circumstances)
      • connect to the RPyC server
      • register this function as the currently used callback for that part of the process (probably using a stack so when clients stop it drops back towards the defaults)

Change python

Be able to change the python that is choosing the light patterns while the lights are running

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.