Commit Graph

14 Commits

Author SHA1 Message Date
Fabian Schlenz a6af2829ee Better and more SimpleEffects.
* Calculations are done using doubles for much easier code.
* Binary flags instead of boolean variables for configuration.
* New effects sineline, barbershop and zigzag.
2020-11-06 22:33:37 +00:00
Fabian Schlenz f9e6a5ebd6 Added new effect type SimpleEffect for, well, simple effects. Added new effect slow_blinking based on this and also converted the confetti effects. 2020-11-04 05:58:00 +01:00
Fabian Schlenz e2a56d7c29 Added a TimeEffect to show a countdown to a time given via MQTT.
continuous-integration/drone/push Build is passing Details
2019-12-21 14:21:31 +01:00
Fabian Schlenz f5d47fe7da Keep track of the current frame number. 2019-10-23 12:36:08 +02:00
Fabian Schlenz 0f1d4abe04 Settings are now properly global and can be changed. 2019-10-04 12:10:16 +02:00
Fabian Schlenz 3f6d4cb0be Moved settings from preprocessor directives to variables. Also added a way to (for now only) display them via HTTP server. 2019-10-02 06:13:55 +02:00
Fabian Schlenz 0941ad8349 Effects are now constructed when needed instead of having global objects of every effect flying around. 2019-06-18 18:14:59 +02:00
Fabian Schlenz 5ce3b0c1b3 Centralized the creation of a hostname to a global variable hostname, set in pitrix.cpp. Added an mDNS record for the webserver. 2019-06-14 05:35:17 +02:00
Fabian Schlenz 83254f2eaa Windows. Everything now is implemented in Windows. ;-) (Okay, just the drawing stuff. And defnititely nothing by Microsoft.) 2019-06-11 19:48:09 +02:00
Fabian Schlenz c5856a6f7a Whitespace stuff. Tabs rule!
continuous-integration/drone/push Build is failing Details
2019-06-07 06:24:16 +02:00
Fabian Schlenz a2fe1461ad Added effect "snake". 2019-05-31 05:45:07 +02:00
Fabian Schlenz 646d3369fb Amount of new Pixels per loop for confetti effect is now configurable. Also, the color is based on a slowly rotating baseHue. 2019-05-30 13:08:24 +02:00
Fabian Schlenz 2f58fd14d0 Splitting the code into single files is done. \o/ 2019-05-30 00:49:54 +02:00
Fabian Schlenz 2cbb981eea STarted reorganizing files into proper .h and .cpp files. 2019-05-28 05:46:25 +02:00