Giter Site home page Giter Site logo

blockthor / ws2812fx_moodnparty_edition Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 580 KB

WS2812FX MOOD'n'PARTY is a modified version of the WS2812FX library, enhanced for use with the "MOOD'n'PARTY Lights" single-page web interface.

License: MIT License

C++ 86.69% C 13.31%
webinterface ws2812fx esp8266 esp8266-arduino esp8266-arduino-environment lamp mood party-product ws2812b

ws2812fx_moodnparty_edition's Introduction

Stargazers Forks Contributors Issues Code MIT License Instagram

WS2812FX MOOD'n'PARTY - Updated, Upgraded, and Remastered

WS2812FX MOOD'n'PARTY is a modified version of the WS2812FX library, enhanced for use with the "MOOD'n'PARTY Lights" single-page web interface.

Features

  • Many effects now have three sub-modes: MonoColor (if the second color is the same as the background color), DuoColor (default), and RainbowColor (if the first color is the same as the background color).
  • Non-symmetrical effects can be Reversed.
  • Many effects utilize SIZE_OPTION and FADE_RATE.
  • All effects now look good with the default speed set to 1000 (one move per second, or 60 bpm).

Example

Mode Static:

  • MonoMode: Filled with solid color - classic static mode.
  • DuoMode:
    • DIRECT:
      • SIZE_SMALL : filled with gradient from Main Color to Second Color;
      • SIZE_MEDIUM : filled with 2 sections of gradient;
      • SIZE_LARGE : filled with 4 sections of gradient;
      • SIZE_XLARGE : filled with 8 sections of gradient;
    • REVERSE :
      • SIZE_SMALL : filled with gradient from Second Color to Main Color;
      • SIZE_MEDIUM : filled with 2 sections of gradient;
      • SIZE_LARGE : filled with 4 sections of gradient;
      • SIZE_XLARGE : filled with 8 sections of gradient;
  • RGBMode:
    • DIRECT:
      • SIZE_SMALL : filled with rainbow gradient;
      • SIZE_MEDIUM : filled with 2 sections of gradient;
      • --//--
    • REVERSE :
      • SIZE_SMALL : filled with rainbow gradient;
      • SIZE_MEDIUM : filled with 2 sections of gradient;
      • --//--

Static effect for: Mono mode, Due mode, RGB mode

Static effect for: Mono mode // Due mode // RGB mode

New Effects

Upgraded Effect

  • VU Meter Peak: Similar to the old VU Meter but now includes Peak. Mono:no; Due:ok; RGB:no; Reverse:ok;
  • Xmas Glitter: Similar to Xmas Twinkle (old name: TwinkleFOX) but changes Hue Color instead of brightness. Mono:ok; Due:ok; RGB:ok; Reverse:ok;

CopyPasta Effect

  • Fire2012: Adaptation from Fire2012 by Mark Kriegsman. Mono:ok; Due:no*; RGB:ok; Reverse:ok; (* default: CoolWhite color changed to WarmWhite).
  • Meteor: Inspired by Tweaking4All.com – "It’s a kind of meteor falling from the sky." Mono:ok; Due:ok; RGB:ok; Reverse:ok;

Original Effect

  • FireFly: Flying light spot. Mono:ok; Due:no*; RGB:ok; Reverse:no (*special effect: default WarmWhite color).
  • Ocean: Imitating ocean waves. Mono:ok; Due:no*; RGB:ok; Reverse:ok (*special effect: default Ocean color).
  • Orbita: Three flying objects on their orbit with a small variety of speed. Mono:ok; Due:no*; RGB:ok; Reverse:ok (*Three objects with two colors, mid object combines Main and Second colors).
  • Machina: Three objects in Red, Green, and Blue moving randomly fore and back, mixing with each other. Mono:ok; Due:no*; RGB:ok; Reverse:ok; (* default colors are saturated, looks more pastel).
  • Party Sky: Group of random LEDs light up in the same color and fade out with rare, brighter stars in the same color. Mono:ok; Due:ok; RGB:ok; Reverse:no;
  • Disco: Line of LEDs randomly light up and fade out. Mono:ok; Due:ok; RGB:ok; Reverse:ok;
  • Party Strob: Classic strob with random delay and random color. Mono:no; Due:no; RGB:ok; Reverse:no;
  • Colorfall: Waves of colors falling down like a waterfall. Mono:no; Due:no; RGB:ok; Reverse:ok;
  • Split: Same as Colorfall but split in the middle. Mono:no; Due:no; RGB:ok; Reverse:no;
  • Flying Spirit: Modification of Split with a moved core and fading out wings. Mono:no; Due:no; RGB:ok; Reverse:no;
  • Portal - Flame looking effect from outside to center. Mono:ok; Due:ok; RGB:ok; Reverse:Yes for Due only;

Special Effect

  • UA Flag: Ukrainian Flag waved in the wind. Mono:no; Due:no*; RGB:ok; Reverse:ok; (*default colors are LightBlue and WarmYellow)

Template

  • Mode - Description. Mono:ok; Due:ok; RGB:ok; Reverse:ok;

ToDo

  • Change DuoMode to PaletteMode (Maybe, not sure yet).
  • Add marks (categories) for effects to indicate if they can be used for Mono/Duo/Rainbow/Special modes, Reversible/Element size/Fade rate.

Download and Install

  1. Install the Adafruit NeoPixel library (v1.1.7 or newer).
  2. Download this repository.
  3. Extract the contents into your Arduino libraries directory.
  4. Open the Arduino IDE.

ws2812fx_moodnparty_edition's People

Contributors

blockthor avatar

Stargazers

 avatar

Watchers

 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.