Christian Schwinne
f6e86bfcf8
First global buffer iteration
2023-06-26 22:12:32 +02:00
Christian Schwinne
498dd76730
Decouple segment led buffer from global led buffer
2023-06-26 18:16:38 +02:00
Blaz Kristan
ef3c72a24f
Fix for #3265
2023-06-23 23:49:54 +02:00
Blaz Kristan
189d145393
Merge branch 'main' into beta-3
2023-06-04 18:43:28 +02:00
Blaz Kristan
1e7071bff3
Transition bugfix.
2023-06-04 18:36:46 +02:00
Sebastian
9d22a06969
Changes for allowing Alexa to change light color to White when auto-calculating from RGB ( #3211 )
...
* Changes for allowing Alexa to change light color to White when auto-calculating from RGB
* Update alexa.cpp
Indention
* Do not rely on global auto white override
(gets white mode from segment light capabilities)
* alexa.cpp: Removed unnecessary whitespaces
---------
Co-authored-by: Aircoookie <21045690+Aircoookie@users.noreply.github.com>
2023-05-31 20:12:17 +02:00
Blaž Kristan
69ab2ce402
Merge branch 'main' into feature
2023-05-30 16:20:20 +02:00
Blaz Kristan
0a5aac724a
Merge branch 'main' into seg-groups
2023-05-29 21:35:52 +02:00
Blaz Kristan
5a8a8dc292
Feature implementation
...
- #2236
- #1984
Better PSRAM handling
platformio.ini update
On/Off bus handling
2023-05-28 22:50:19 +02:00
Blaz Kristan
bffeec1615
Remove PSRAM use from global LED buffer.
2023-05-21 18:37:18 +02:00
Frank
e4a9f115cb
fx functions: avoid memory corruption
...
* PSRAM_Allocator was missing the "reallocate" method, which lead to undefined behaviour when dynamic JSON doc needed to grow/shrink
* Segment::setUpLeds() quickfix for length() == 0 (should not happen, but it did happen for me once)
* leds in PSRAM causes major slowdown on wrover boards - disabled.
2023-05-21 14:33:25 +02:00
Blaz Kristan
4a567ab97c
Merge branch 'main' into seg-groups
2023-05-15 17:06:38 +02:00
Blaz Kristan
90431b662b
Rename "group" to "set"
2023-05-15 17:06:29 +02:00
Blaz Kristan
217004c70c
Bugfix.
...
- disbled transitions/crossfade prevented segment off
2023-05-14 18:18:09 +02:00
Blaz Kristan
3d9160f2fa
Merge branch 'main' into seg-groups
2023-05-05 23:01:17 +02:00
Blaz Kristan
65c584aeda
2D enhancement (internal)
...
- move() wrapping
- dual addPixelColorXY()
2023-04-27 17:31:55 +02:00
Blaž Kristan
2540a2dfd9
Soap, new 2D effect ( #3184 )
...
* Soap, new 2D effect
* Fix Soap FX on matrices with edges < 8 LEDs
* Add palette support to Soap FX
---------
Co-authored-by: cschwinne <dev.aircoookie@gmail.com>
2023-04-27 01:22:33 +02:00
Blaz Kristan
02d4f9cbba
Merge branch 'main' into seg-groups
2023-04-20 17:21:20 +02:00
Frank
4a3bc486d0
two more "shadowed locals"
...
In these case, there seem to be no bug, but simply renaming the "inner" variables improves code readability.
2023-04-14 13:09:25 +02:00
Blaz Kristan
dfa0a16487
Reduce sound sim options to increase 2D mapping.
2023-04-04 17:16:50 +02:00
Blaz Kristan
558b22c36a
POC: Implemented segment groups (4).
...
Sacrificed 1 bit on sound simulation and 1D to 2D mapping each.
2023-04-01 23:40:43 +02:00
Blaz Kristan
13678cb8d5
Add adjustable Random Cycle time.
...
- solves #3147
2023-03-25 21:28:30 +01:00
Blaz Kristan
7c186e4fcc
Fix for smaller number of pixeld than matrix size.
2023-03-11 15:03:28 +01:00
Blaz Kristan
763b64cc57
Combat low memory condition on ESP8266.
2023-03-10 15:20:50 +01:00
Blaz Kristan
ddd32bd600
Multiple fixes.
...
- compiler warning fixes (gcc17)
- revert min heap size to 8k
- fix form submitting in 2D settings
- remove IRAM_ATTR for ESP8266 core 4.1.0
2023-03-05 22:56:14 +01:00
Blaz Kristan
c151221d12
UI fixes & revert forcing ULTRAWHITE for on/off bus
...
Reduce min heap for 8266
2023-03-02 18:21:55 +01:00
Blaz Kristan
7a2f556682
Bugfix for 1 pixel segment capabilities.
2023-02-28 19:08:41 +01:00
Blaz Kristan
3ca7006e3a
Tweaks & bugfixes.
...
One pixel segment handling.
- added 0D FX metadata (1 pixel effects)
- ignore palettes for White only segment
- ignore color for non-RGB & non-White segment (on/off)
Bugfix
- proper auto segment creation
- hide palettes for non RGB segments
- some tweaks for #2984
- force Solid for some FX (causing crash) on 1 pixel segment
UI Optimisations
- slider tooltips
- tiny bit smaller tooltips
- hide segment power if only one segment
- gap between sliders
2023-02-25 09:41:15 +01:00
Christian Schwinne
220718cb58
Remove Blynk support ( #3102 )
...
Change default palette for Railway to Colors 1 and 2
2023-02-21 17:07:32 +01:00
Blaz Kristan
3ffc58d442
Bugfix
...
- segment capabilities on 2D segments and ledmaps
- UI segment update
- auto segment creation 2D + 1D
2023-02-15 20:36:54 +01:00
Blaz Kristan
92d2be3f5e
Add ledmap names
...
Bugfix
- reset segments upon 2D ledmap allocation error
- fix invlid 2D segments
2023-02-14 17:11:58 +01:00
Blaž Kristan
a7cded21f7
Merge branch 'main' into led-gaps
2023-02-14 14:28:10 +01:00
Christian Schwinne
74156b7ed8
Support white addressable LED strips ( #3073 )
...
* Support white addressable LED strips
* Various white handling tweaks
Allow RGB controls for white-only busses depending on AWM (makes palette-only FX work on non-RGB addressable busses)
Fixed RGB controls hidden if segment contained any non-RGB bus (even though there is also an RGB bus in that segment)
New Max auto white mode
Added hasCCT() bus method
Rename methods to be clearer
WS2811 White getPixelColor fix()
* Fix merge conflict (bus manager cpp)
2023-02-14 01:33:06 +01:00
Blaz Kristan
821f320347
Add user selectable Gamma
...
Add panel visualisation (@ewoudwijma, #3090 )
Bugfix:
- PIR onStateChange() ignored until inited
- remove matrix orientation
- ignore removing ledmap 0 if 2D
- _globalLeds size
2023-02-12 13:18:30 +01:00
Blaz Kristan
eee9274098
Bugfix.
...
- compiler warnings
- loading nonexistent default ledmap in 2D will revert to built ledmap
- making autosements after 2D set up change
2023-02-11 18:41:30 +01:00
Blaz Kristan
8dd1f89225
Update.
...
- allow ledmap selection in UI
- upload gap file
- expand matrix generator
2023-02-10 19:49:43 +01:00
Blaz Kristan
e51f7bfbff
LED matrix gaps.
2023-02-09 20:15:55 +01:00
Blaž Kristan
dec45109d3
Refactor busmgr ( #3079 )
...
* Refactor bus manager.
* Fix for net debug
* Fix 8266 compile
* Move bus static members to proper cpp
---------
Co-authored-by: cschwinne <dev.aircoookie@gmail.com>
2023-02-05 23:48:43 +01:00
Blaž Kristan
dca8a47da8
Dual mode 2D + 1D with auto segment creation. ( #3060 )
...
* Dual mode 2D + 1D with auto segment creation.
* Bugfix.
- stop when seglen
2023-02-01 19:30:56 +01:00
Blaz Kristan
31fa73518b
Bugfix. #3064
2023-01-30 17:11:14 +01:00
Blaz Kristan
17543535e3
FX update
...
- Dynamic & Dynamic Smooth
- Dissolve & Dissolve Rnd
- Juggles
- Game of Life
- Colorful
- Fireworks & Rain
2023-01-18 22:56:49 +01:00
Blaz Kristan
63d8a902d5
Loading defaults on "fxdef".
2023-01-15 15:21:39 +01:00
Blaz Kristan
6fa5689aaf
Bugfix.
...
- segment off
2023-01-12 20:36:50 +01:00
Blaz Kristan
e410de9552
Bugfix.
...
- fadePixelColorXY()
- clearing 2D segment on mirror or reverse change
- FX update (DNA Spiral, Colored bursts)
2023-01-12 19:13:07 +01:00
Blaz Kristan
8dc262b415
Bugfixes.
...
- faster random palette blends
- remove UI ledmap selection for 2D
- FX updates (DNA Spiral, Colored bursts, Metaballs)
2023-01-11 23:08:08 +01:00
Abhi Gulati
7fa494815f
Fix a typo ( #3014 )
2023-01-11 11:21:45 +01:00
Blaz Kristan
27d7f5f190
Fixes.
...
Prevent flickering if segment off.
2023-01-06 18:11:52 +01:00
Blaž Kristan
c7eccfb714
FX updates:
...
- Ripple (2D & no Bg)
- Glitter (no Bg)
- Sparkle (no Bg)
- Scan (no Bg)
- Two dots (no Bg)
- ICU (no Bg)
- Lightning (no Bg)
- Halloween eyes (no Bg)
- Spots (no Bg)
- Bouncing Balls (no BG)
- Popcorn (no Bg)
- Starburst (no Bg)
- Drip (no Bg)
- Whitespace cleanup
- draw_circle()
"no Bg" will allow overlapping segments if checked.
2023-01-06 09:10:39 +01:00
Blaz Kristan
95869eeb70
Allow more virtual buses.
2022-12-31 17:06:18 +01:00
Blaz Kristan
be08c01be6
Fix for #2979
2022-12-28 01:01:31 +01:00
Blaz Kristan
d36460e30b
Minor optimisation.
...
Fix for #2969
2022-12-23 16:37:13 +01:00
Blaz Kristan
22b2503839
Bugfix & code optimisation.
2022-12-22 18:13:32 +01:00
Blaz Kristan
4322d195d3
Smooth random palette changes
...
Bugfix loading string palettes
JS optimization.
2022-12-21 21:00:28 +01:00
Blaz Kristan
0a0ced3e8e
Hex string custom palette option
2022-12-18 21:02:19 +01:00
Blaz Kristan
a802bb2736
Merge branch 'main' into selall-bugfix
2022-12-16 22:32:15 +01:00
Blaz Kristan
3c5838cafd
Remove "strip" dependency in Segment class
2022-12-16 22:31:07 +01:00
Blaz Kristan
b637398a9c
Optimisations.
2022-12-09 18:37:53 +01:00
Blaz Kristan
8899684092
Select custom palette bugfix.
2022-11-25 17:33:29 +01:00
cschwinne
324fc149b3
Shorter JSON keys for 1d2d map and sound sim
...
(smaller fxdata, saves 100b flash, slightly shorter json doc)
2022-11-24 04:15:24 +01:00
Blaz Kristan
c47d6cffa8
Missing presets.json on factory reset bugfix.
...
Clarification on loading ledmaps in UI.
Added manual ledmap loading.
2022-11-16 20:55:21 +01:00
Blaz Kristan
b141ec7ea7
Fix for #2880 (stateChanged on segment on/off)
...
Added comments.
Added X1, X2, X3, M1, M2, M3 segment options to HTTP API.
Added "on" handling with "ps".
2022-11-13 12:13:49 +01:00
cschwinne
c0a783198e
Reduce fxdata size by about 200 bytes
...
Removed redundant commas before semicolon delimiter (`,;` -> `;`)
No need to transmit `@` in /json/fxdata
2022-11-11 03:10:41 +01:00
Blaz Kristan
5f4199183c
Bugfix for color transitioning.
...
Return palette option for Candle.
Fix for "* Color..." palette hiding.
Comment out debug output.
2022-11-09 20:09:01 +01:00
Blaz Kristan
bd025309fb
Custom palette name bugfix.
2022-10-04 22:10:20 +02:00
Blaž Kristan
f385af595a
Add setMode() and setPalette() methods
...
- automatically start transition
Implement load FX defaults for HTTP API (FXD)
2022-09-29 12:49:12 +02:00
Blaž Kristan
26825ed60f
Missing isActive()
2022-09-16 14:07:04 +02:00
Blaz Kristan
4480abc646
Better palette blends.
2022-09-06 21:47:50 +02:00
Blaz Kristan
787f5f06df
Global gamma.
...
Randomcycle palette bugfix.
2022-09-04 20:17:05 +02:00
Blaz Kristan
38bd0d6bbb
Bugfixes
2022-08-31 21:21:53 +02:00
Blaž Kristan
da0da4c75e
Remove NONUNITY
...
Expand soundSim
Tetrix optimisation
2022-08-31 14:24:02 +02:00
Blaz Kristan
cd7bcb79e5
Tetrix vStrip 2D modification.
...
AA version of Bouncing balls
Better AA
2022-08-30 17:18:56 +02:00
Blaz Kristan
005419ab9a
vStrip calculation
...
remove Segment copy constructor
2022-08-29 21:51:46 +02:00
Blaz Kristan
c6126db2a2
Bugfix for 1D setPixelColor
...
Float vStrips.
Fix misspelled MISOSPI.
2022-08-27 18:25:54 +02:00
Blaz Kristan
030833f942
Global MISO pin.
...
Virtual strip expansion for 2D.
2022-08-25 21:57:43 +02:00
Blaz Kristan
daf67d9cf7
Whitespace cleanup.
...
Revert legacy effects to 1D and use mapping instead.
2022-08-24 23:04:51 +02:00
Blaz Kristan
af5e38e5ee
Fix for segment on/off transitions.
...
Fix for missing return.
Slightly smoother Chunchun, added Speed parameter for Hiphotic.
2022-08-23 15:57:05 +02:00
Blaz Kristan
d3d8fdff13
Transpose fix.
2022-08-22 22:02:36 +02:00
Blaz Kristan
59b038b8c4
Index under- shooting.
...
Fix for arc 1D to 2D mapping.
UI segment 2D mapping fix.
Watchdog reposition & flicker reduction.
2022-08-22 16:48:19 +02:00
Blaž Kristan
1711ac9a88
Fix in is2D()
...
Horizontal and vertical 1D segment
Index overshoot fix.
2022-08-22 14:35:34 +02:00
Blaz Kristan
44a4b11d36
Replace setOption/getOption
2022-08-19 21:14:49 +02:00
Blaz Kristan
fa55896722
Const functions.
2022-08-17 20:45:30 +02:00
Blaž Kristan
4e0cf380be
Fix for 0 duration/reset runtime.
2022-08-11 11:23:39 +02:00
Blaz Kristan
1cb3ab82c2
Reduction of flicering on web access (info)
2022-08-10 20:53:11 +02:00
Blaz Kristan
a8785570df
Memory allocation fixes.
...
Whitespace.
Cleanup.
2022-08-06 12:39:12 +02:00
Blaz Kristan
9270f80af2
Merge branch 'integration' into merge-audio
2022-08-05 23:03:38 +02:00
Blaz Kristan
cdca715afc
Effect change at end of transition.
...
Compile bugfix.
2022-08-03 22:09:27 +02:00
Blaz Kristan
d0a08a55d1
Memory management!
2022-08-03 21:36:47 +02:00
ewowi
a098aa0a89
leds array from CRGB to uint32_t
2022-08-02 22:06:13 +02:00
Blaz Kristan
0ba8bace0d
2D optimisations.
2022-08-02 18:27:32 +02:00
ewowi
78edcfe5cf
Merge branch 'ledsArrayToSGPC' into integration
2022-08-02 12:21:46 +02:00
ewowi
2ca5e0c8b8
Remove leds from FX.cpp
...
- add addPixelColor overloads
- remove setPixels function
- sPC/gPC move leds check to beginning
- refactor wu_pixel work without leds
- remove leds out of effects and replace by sPC/gPC/aPC/nullptr
- workaround %=
- refactor game of life (but need to check patterns / history, see SR)
- refactor fill_circle to work without leds
2022-08-02 12:19:04 +02:00
Blaz Kristan
7ca1d99412
Multiple additions:
...
- transparent leds[] for getPixelColor()
- sample 2D Black Hole for trnasparent leds[]
- conditional audio compile (WLED_NO_AUDIO)
Bugfix:
- effect filtering
2022-08-01 22:01:24 +02:00
ewowi
987b442796
Merge branch 'ledsArrayToSGPC' into integrationMergeOnly
2022-08-01 16:25:51 +02:00
ewowi
004c2920f5
All effects use strip.leds, refactor XY
...
- remove leds out of SEGMENT.data (remove if no other use of data)
- use strip.leds
- refactor XY to make segment relative to the whole matrix
- use RGBW32
- in case of 1D also use XY in leds[]: XY(i%width, i/width)]
- add ps_malloc
2022-08-01 16:11:59 +02:00
Blaz Kristan
f02616acd1
Some fixes.
2022-07-31 19:52:07 +02:00
ewowi
69f9a484ca
strip.leds array fully fastLed and segment compatible
...
- leds array from uint32_t to CRGB for fastled compatibility
- reading and writing leds from strip to segment sPC/gPC so it has logical instead of physical indexes so it can be used in effects
- change mode_2DBlackHole as showcase how it can both work with leds or with sPC/gPC
2022-07-31 14:48:00 +02:00
Blaz Kristan
dde5367560
Default palette gamma fix.
...
Reverted to leds[] in SR effects.
Code optimisations.
2022-07-31 13:28:12 +02:00
ewowi
66da57f375
POC to use leds array in strip.set/getPixelColor
2022-07-31 12:38:10 +02:00
Blaz Kristan
d328db543e
Bugfixes.
...
- gamma on *Color palettes
- gamma moved out of WS2812FX
- palette fade (JSON) fix
2022-07-30 23:58:29 +02:00
Blaz Kristan
eb9eda1f6d
Transition struct (reduced RAM footprint).
2022-07-30 14:50:11 +02:00
Blaz Kristan
f16558c126
Optimisations.
2022-07-30 14:20:36 +02:00
Blaz Kristan
b0ba1b2ecc
Bugfix.
...
- defult transitions
- conditional 2D compile
2022-07-30 10:49:54 +02:00
Blaz Kristan
52b863fe36
Memory allocation bugfix.
2022-07-29 20:24:29 +02:00
Blaz Kristan
79337a4568
Bugfix for palette transitions.
2022-07-29 16:26:15 +02:00
Blaž Kristan
191db46c4f
Code optimisation & cleanup.
...
Minor fixes.
2022-07-29 12:15:56 +02:00
Blaz Kristan
df534d30bf
Custom palettes.
2022-07-28 23:19:58 +02:00
Blaz Kristan
3b2573afed
More filtering options.
...
Palette loading bugfix.
2022-07-27 17:00:55 +02:00
Blaz Kristan
78aad924c5
Bugfixes.
...
- moved simulateSound() to util
- effect fixes (name changes)
- mapping fixes
- default values fixes
- UI fixes
2022-07-25 21:31:50 +02:00
Blaz Kristan
8e9637f6d4
Default effect values.
2022-07-23 22:00:19 +02:00
Blaž Kristan
2fe4edb6df
Segment clear bugfix.
...
getPixelColor fix.
2022-07-21 07:24:03 +02:00
Blaz Kristan
1e4f8be74b
Merge branch 'mapping12soundsim' into segment-api
2022-07-20 21:22:23 +02:00
Blaz Kristan
b6e53b1a0c
Minor bugfix and for loop optimization.
2022-07-19 22:14:46 +02:00
Blaz Kristan
a46894f395
Bugfixes.
2022-07-19 16:16:43 +02:00
Blaz Kristan
6c6849d8d7
Vectors & dynamic loadJS.
...
- Segments
- Modes
NOTE: crashes ESP if effect is running while deleting segment.
2022-07-17 15:58:41 +02:00
ewowi
e82336f355
Small bugfixes
2022-07-14 17:22:37 +02:00
Blaž Kristan
0cf891b9d9
Optimisations
2022-07-14 13:22:34 +02:00
ewowi
aeb8fd6fda
make getPixelColor matrix (mapping) aware
...
And change some mapping defaults of effects useing getPixelColor
2022-07-13 15:40:40 +02:00
ewowi
9bec394d7f
Add mapping12 and soundsim defaults to effects and apply in segment ui
...
index.js: rename setSliderAndColorControl to setEffectParameters, rename extras to effectPars, add segment variable update code
FX.cpp: add map12 and ssim defaults to data_FX_MODE variables (WIP)
FX_fcn.cpp: add return in setPixelColor for 2D
2022-07-13 12:41:33 +02:00
ewowi
6799a3bd35
Merge remote-tracking branch 'origin/segment-api' into mapping12soundsim
2022-07-12 20:04:44 +02:00
Blaz Kristan
588c7a81fc
Fix for transitions.
2022-07-12 18:10:07 +02:00
ewowi
16aa0e4dba
Resolve compile fail
2022-07-11 11:39:56 +02:00
ewowi
81cb765b7a
Finish merge by adding the mapping12 code to setPixelColor
2022-07-11 11:20:30 +02:00
Blaz Kristan
d9f2c2b968
Segment API
...
- moved all drawing logic to segment
- moved transitions to segment
Conditional 2D compile.
Rearranged effect IDs.
Implemented dynamic effect arrays.
2022-07-10 22:23:25 +02:00
Blaz Kristan
bdea2acf67
Correctly position #defines
2022-07-06 19:49:55 +02:00
Blaz Kristan
9519c8edbd
Fix disbling AudioReactive usermod
...
Reduce IRAM pressure for ESP8266
2022-07-06 19:42:48 +02:00
Blaz Kristan
64fd207533
Refactoring WS2812FX class.
...
- effect functions no longer part of class
- methods to access private members
- separate Segment, Segment_runtime, ColorTransition from WS2812FX
2022-07-06 13:13:54 +02:00
Blaz Kristan
febd7cbca8
Enable Peek for 2D.
2022-07-04 11:12:55 +02:00
Blaz Kristan
0a2e01a616
Multiple changes:
...
- change arduinoFFT to float (custom)
- update audioreactive to use float
- update effects to use float
- info slider (usermod)
- hide Peek in 2D
- minor bugfixes
2022-07-03 22:55:37 +02:00
Blaz Kristan
cf3faa1170
Merge branch 'audioreactive-prototype' into 2D-support
2022-06-29 16:30:50 +02:00
Blaz Kristan
d2705f033d
Enhance API
...
- addPixelColorXY()
- fadeToBlackBy()
2022-06-28 23:32:29 +02:00
Blaz Kristan
a75b3a53aa
Use getModeCount() instead of MODE_COUNT
...
Clear strip if spacing changes.
Rewrite 2DGEQ.
2022-06-26 23:01:22 +02:00
Blaz Kristan
3891348c26
Multiple fixes.
...
- anti-aliasing fix
- minor UI CSS fix
- dynamic JS loading (2D & UM)
- 2D Lissajous fix
2022-06-23 17:42:02 +02:00
Blaz Kristan
b00e038b33
Enhancement in effect functions.
...
- added color_add()
- fixed AA setPixelColor()
- added fadeToBlackBy() (FastLED)
- added hiding of * palettes if not all color selectors shown
2022-06-17 18:57:32 +02:00
Blaz Kristan
477c9ef577
Cosmetic fixes.
2022-06-15 22:17:34 +02:00
Blaž Kristan
4cc2dea2fe
color_add() that preserves color ratio
...
AA version of setPixelColor(float)
Fix in AA ratio calculation.
2022-06-14 09:11:56 +02:00
Blaz Kristan
9db872db56
Fixes:
...
- mirroring
- FX memory allocations
- preset loading if WS request too big
Changes:
- remove "pt" in favor of "ps" in JSON
- fading in Ghost rider
2022-06-05 10:16:56 +02:00
Blaz Kristan
366006273d
Watchdog timer (@poelzi).
...
Transpose optimisations.
Rain effect updated.
2022-05-30 22:21:13 +02:00
Blaz Kristan
8b73a7375a
Fix for transpose.
...
blur1d() using weighted box blur.
2022-05-28 19:23:16 +02:00
Blaz Kristan
9920424a31
Polar Lights fix.
...
Cleanup.
2022-05-24 16:43:21 +02:00
Blaz Kristan
a6d7ed3824
Moved mode names (& slider data) to a static array
...
-- may break some things --
2022-05-21 18:37:09 +02:00
Blaz Kristan
e003ec39fb
Transpose fix for XY()
...
Slight internal API change.
Renamed c1x,c2x,c3x to custom1, custom2, custom3 to be in line with SR.
2022-05-21 13:19:11 +02:00
Blaz Kristan
bf76affd06
Fix for missing palettes.
2022-05-20 19:44:06 +02:00
Blaz Kristan
b4d6525899
Added new 2D effects:
...
- 2D Floating Blobs
- 2D Ghost Rider
Crash fix for 2D Game of Life.
Added support function fill_circle() & wu_pixel().
Removed obsolete debug strings.
2022-05-20 19:35:22 +02:00
Blaz Kristan
ba3555a66f
2D Game of Life update.
...
Added crc16().
Reduced errorToast popup time.
Fixed drawLine() incorrect uint16_t use and added leds[] support.
2022-05-20 14:48:40 +02:00
Blaz Kristan
3ba4702181
2D crazy bees.
2022-05-19 18:57:23 +02:00
Blaz Kristan
ad9c42e832
2D Spaceships.
2022-05-19 18:27:04 +02:00
Blaz Kristan
0368d3be59
Some fixes.
...
Tried removing leds[] for some effects.
2022-05-19 17:01:52 +02:00
Blaz Kristan
598549b5fb
Additional 2D effects.
2022-05-19 11:29:04 +02:00
Blaz Kristan
9ed14b6e8c
Incorrect mode params fix.
...
Variable eye width in Halloween Eyes.
2022-05-11 09:53:40 +02:00
Blaz Kristan
4484721a9f
2D Haloween eyes
...
Misc fix.
2022-05-11 09:37:38 +02:00
Blaz Kristan
4963a5797b
Corrected slider names & options for 2D effects.
2022-05-10 21:41:20 +02:00
Blaz Kristan
13f5798ed4
blur2D & other bugfixes
2022-05-10 10:37:27 +02:00
Blaz Kristan
c9bdecdb69
API change.
...
New SR effects.
Bugfixes.
2022-05-10 00:35:26 +02:00
Blaz Kristan
adb7726974
Bugfixes.
...
- removed IS_ macors
- replaced .options with getOptions()
- Fire2012 matrix fix
2022-05-09 16:15:07 +02:00
Blaz Kristan
cf189663a7
Segment width & height fix.
...
Auto 2D segment.
2022-05-08 14:28:02 +02:00
Blaz Kristan
f0d36fd769
WLED 2D matrix support.
...
- Added 2 sample effects to UI.
- 2D segment details.
- 1D effect upscaling to 2D.
- 2D setPixelColorXY() and other utility functions
- Arbitrary panel position & oritentation.
- 2D settings with physical to logical mapping.
- Bump version.
2022-05-08 10:50:48 +02:00
Blaz Kristan
f915201a27
Cleanup.
2022-04-12 16:08:17 +02:00
Blaz Kristan
845aa733b7
Bugfixes.
...
- auto segments selected
- slider data aded to data-opt
2022-04-11 22:18:44 +02:00
Blaz Kristan
eda6f134a9
Moved effect sliders to bottom.
...
Implemented custom effect parameters.
2022-04-10 11:02:57 +02:00
Blaz Kristan
081f211231
Merge branch 'master' into merge-master
2022-04-04 20:52:42 +02:00
Blaz Kristan
73e898773b
Minor fixes.
...
- reversed condition for simplified UI
- removed duplicate code
2022-03-31 21:44:11 +02:00
Blaz Kristan
955bb51f11
Freeze/unfreeze for mainseg UDP.
2022-03-28 22:36:58 +02:00
Blaz Kristan
b583def913
Using freeze instead of power for segment.
...
Fix for missing udp.cpp
2022-03-28 20:44:49 +02:00
Blaz Kristan
81d880fb4e
Global Auto-calculate white override.
2022-03-26 23:20:14 +01:00
Blaz Kristan
6079effae3
UDP on main segment only.
2022-03-25 17:20:41 +01:00
Blaz Kristan
41aa1ee318
Use UDP live/realtime data on main segment only.
...
Includes Adalight revert, CSS optimizations and setPixelColor() refactoring.
2022-03-25 16:36:05 +01:00
Blaz Kristan
c14f16bdf1
Merge branch 'master' into master-merge
2022-03-19 21:05:28 +01:00
cschwinne
d280e16723
Fixed `/json/cfg` unable to set busses ( fixes #2589 )
2022-03-19 14:21:14 +01:00
Blaž Kristan
aecfa3ff0f
Merge branch 'master' into master-merge
2022-03-16 08:52:48 +01:00
SpeakingOfBrad
4642205768
Optionally set led strip color order at runtime. ( #2582 )
2022-03-16 00:17:49 +01:00
Blaž Kristan
e0fcaa6103
Merge branch 'master' into master-merge
2022-03-11 11:28:02 +01:00
Blaz Kristan
841a9f8082
Searchable presets.
...
Inline sin_gap().
Prevent live timeout.
2022-03-10 22:36:09 +01:00
cschwinne
4865ddb377
Fix realtime mode disabled by brightness change
...
Fix realtime mode not working immediately at turn on
Fix individual segment control not working immediately at turn on
2022-03-10 20:40:48 +01:00
cschwinne
0ea31cb088
Fix indefinite realtime terminated by new packet ( fixes #2356 )
...
Add custom Aircoookie fork of ESP32 core (reduces bin size by >100kB)
2022-03-10 11:20:39 +01:00
Blaz Kristan
261260b232
Fix for non-W segment.
2022-03-09 15:31:31 +01:00
Blaž Kristan
5b88894638
Reintroduction of per bus auto white calculation.
...
JS/CSS UI optimizations.
2022-03-09 13:39:51 +01:00
Blaz Kristan
ddadaa828a
Merge branch 'master' into master-merge
2022-03-08 22:46:50 +01:00
cschwinne
b626c7620e
Disabled auto white mode in segments with no RGB bus
2022-03-08 02:16:33 +01:00
Blaž Kristan
e561304645
Merge branch 'master' into master-merge
2022-03-07 09:44:35 +01:00
Christian Schwinne
9c864c9759
UI: show color controls based on segment light capabilities ( #2567 )
...
* Dynamic hiding of unused color controls in UI
(e.g. a PWM white bus with no auto white mode will not display the color wheel or palette list)
* Store segment capabilities
Don't use palettes if no RGB supported
Make it safe to update busses using `/json/cfg`
2022-03-05 01:05:26 +01:00
Blaž Kristan
c8f1297adb
Fixed main/first selected segments in IR.
...
Code optimization.
2022-02-25 10:24:00 +01:00
Blaž Kristan
23d7c3d0fe
Merge branch 'master' into merge-master
2022-02-24 13:43:12 +01:00
cschwinne
ed90b638a9
Main seg replaced by first selected in internal interfaces
...
Version bump to 0.13.0-b7
Various small improvements
2022-02-23 19:20:07 +01:00
Blaz Kristan
41b6f3ffa7
Merge branch 'master' into merge-master
2022-02-20 22:24:11 +01:00
Christian Schwinne
7138e891be
Add per-segment light capability info ( #2552 )
...
* Add per-segment light capability info
* Fix duplication
* Change to more lightweight seglc array
* Added segment capabilities.
* Differs and capabilities refactoring
* Add back selection differs option
Co-authored-by: Blaz Kristan <blaz@kristan-sp.si>
2022-02-20 00:20:22 +01:00
cschwinne
613809c2af
Do not turn rpt segments off
2022-02-16 23:54:14 +01:00
cschwinne
7b969bb8c2
Various state changed logic simplifications
...
Changed main segment, must be selected
2022-02-16 21:12:33 +01:00
Blaz Kristan
f8eece362f
Compile fix.
...
Adjusted function names.
2022-02-10 16:09:16 +01:00
Blaz Kristan
d4ea30e081
Merge branch 'master' into merge-master
2022-02-10 14:16:55 +01:00
Blaz Kristan
a5b19bbc83
Multiple changes:
...
- added segment capabilities utility
- removed colorFromUinXX functions
- rewritten IR color handling (changeColor())
2022-02-10 13:24:51 +01:00
Christian Schwinne
00b0193a43
Fix re-init segment data leak ( fixes #2535 ) ( #2536 )
2022-02-09 08:43:35 +01:00
Blaz Kristan
2da14e5b2a
Merge branch 'master' into merge-master
2022-02-04 16:29:39 +01:00
cschwinne
97f8eea302
Refactored isRgbw to hasWhiteChannel()
2022-02-04 13:28:00 +01:00
Blaz Kristan
d31271fee3
Minor fixes:
...
- optimized setPixelSegment()
- moved extractModeName() to util.cpp
- optimized extractModeName()
- removed SR extensions from /json/effects endpoint (compatibility estabished)
2022-01-31 20:35:11 +01:00
Blaz Kristan
be8a9ae73b
setPixelSegment() optimization
2022-01-31 17:56:21 +01:00
Blaz Kristan
436542eff8
Slidercontrol fix.
2022-01-23 11:13:50 +01:00
Blaz Kristan
3da70c3e8b
Full segment syncing.
...
- removed setEffectConfig()
- rate limit handleNightlight()
- fixes in colorUpdated()
- segment color fix in UDP routine
2022-01-15 00:06:06 +01:00
Blaz Kristan
c8b1654e0a
Some fixes and new slider values.
2022-01-12 21:48:34 +01:00
Blaz Kristan
0400d0e0f0
Additional sliders.
2022-01-12 21:35:10 +01:00
Blaz Kristan
a4a3aa045b
A few more slider values added.
2022-01-12 15:45:32 +01:00