Coder Social home page Coder Social logo

deprecatedslocum / firesim Goto Github PK

View Code? Open in Web Editor NEW

This project forked from openlights/firesim

0.0 1.0 0.0 253 KB

FireLight show designer and visualizer

Home Page: http://craftyjon.com/projects/openlights/firesim

License: MIT License

Python 100.00%

firesim's Introduction

FireSim

FireSim is a GUI for designing lighting installations using addressable LED strips. It can display the output of FireMix, which is useful for developing presets without hardware.

More information on preset development is on the FireMix Page

Installation / Development

pip install -r requirements.txt
python firesim.py demo

Getting Started

FireMix stores information about the current lightshow design in a Scene file (as a JSON dictionary). The scene can have a background image assigned (for reference when designing the show) and contains zero or more fixtures. Each fixture is a set of individually-addressable RGB LEDs arranged in a 1xN grid (i.e. each fixture represents a segment of a strip of RGB LEDs). Pixels are addressed by a tuple of (strand, fixture, pixel), where each strand represents an individual hardware controller, each fixture is a zero-based address along the strand, and each pixel is a zero-based offset along a fixture. Fixtures can have any number of pixels, and strands can have any number of fixtures (in the simulator--in real life, you will be constrained by nuisances such as voltage droop and signal integrity!)

When the scene is unlocked, you can use FireSim to design the lightshow. Use the command buttons on the left to add fixtures, and then drag them around with the mouse. You can drag the control points on the end of the fixture, or the entire fixture. When a fixture is selected by left-clicking (highlighted in blue), you can edit its address and number of pixels using the text boxes on the left. To delete a fixture, middle-click on it twice (it will be highlighted in red the first time to confirm deletion).

FireSim listens on UDP port 3020 for messages from FireMix. At the moment, the network protocol has not been optimized for use over an actual network, so performance will be best if both programs are running on the same machine.

Development is heavily focused on FireMix at the moment, so FireSim still has plenty of quirks. Please report bugs using the GitHub issue tracker if you find them, and feel free to submit pull requests with fixes or enhancements.

firesim's People

Contributors

craftyjon avatar rryan avatar underwatercolor avatar

Watchers

Deprecated 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.