Commit Graph

23 Commits

Author SHA1 Message Date
Fabian Schlenz 083564caef Reorganized effect selection stuff: No longer a big case clause comparing CRC32. Instead an array of structs. Much nicer. Also, other code can now see which effects there are. 2019-10-02 06:16:07 +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 096d13438a More effects for cycle.
continuous-integration/drone/push Build is passing Details
2019-09-26 06:52:33 +02:00
Fabian Schlenz 7ac681002e Added effect night_clock 2019-09-25 18:11:52 +02:00
Fabian Schlenz 34d5aa6496 Use more effects for cycling through! 2019-09-25 06:42:43 +02:00
Fabian Schlenz 781954d7f1 Added effect marquee, which will scroll a given message through the display. 2019-09-25 06:41:52 +02:00
Fabian Schlenz fa5f1c8816 Added effect blur2d 2019-09-25 06:26:27 +02:00
Fabian Schlenz 96e144f96b Added effect analog_clock (heavily, not-really-usable work-in-progress!). 2019-09-25 06:24:24 +02:00
Fabian Schlenz 0b80b74be3 Added more effects to the cycle effect. 2019-09-04 06:06:47 +02:00
Fabian Schlenz ead076f9a3 You can now set options for effects via MQTT and HTTP. Basic syntax is: <mode>,<option1>=<value1>,<option2>=<value2>,... 2019-06-19 22:28:38 +02:00
Fabian Schlenz 26df11fc47 Added tests. Start them by sending a message to MQTT_TOPIC/run_tests. First test will test all effects for memory leaks. 2019-06-19 22:26:38 +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 e8f3ea3281 Extended MatrixEffect to also get RainbowMatrixEffect and RandomMatrixEffect.
Side note: You know you understand C++ when you understand the meaning 
and reason for "MatrixEffect** _columns". ;-)
2019-06-16 12:43:05 +02:00
Fabian Schlenz 3edbf6b252 Added PicelClockEffect.
continuous-integration/drone/push Build is passing Details
2019-06-15 14:18:35 +02:00
Fabian Schlenz 4fdd1d3739 Added animation 'cake'. 2019-06-14 05:32:55 +02:00
Fabian Schlenz 1e23936374 Added effect 'gol': Conway's Game of Life. 2019-06-14 05:32:17 +02:00
Fabian Schlenz 874b2c212f Small changes to some effects:
continuous-integration/drone/push Build is passing Details
* Don't put multi-dynamic and single-dynamic right after one another, 
because that looks strange when not using random cycling between 
effects.
* Removed white from the matrix palette cause we're setting white 
explicitly from the code.
* Increased speed of single_dynamic a little.
2019-06-12 06:32:06 +02:00
Fabian Schlenz 57815cb3bf Joined SingleDynamicEffect and MultiDynamicEffect into one file and finally got different timings for both classes to work. 2019-06-05 06:27:07 +02:00
Fabian Schlenz f95589763e Added FireEffect. Its values still need a bit of tweaking to look right... 2019-06-04 05:58:23 +02:00
Fabian Schlenz a2fe1461ad Added effect "snake". 2019-05-31 05:45:07 +02:00
Fabian Schlenz 711d028e90 Added effect "confetti". Closes #16. 2019-05-30 11:12:40 +02:00
Fabian Schlenz 63a65c5b44 New animation "heart" added. 2019-05-30 01:35:57 +02:00
Fabian Schlenz 2f58fd14d0 Splitting the code into single files is done. \o/ 2019-05-30 00:49:54 +02:00