Commit Graph

4627 Commits

Author SHA1 Message Date
Frank
46a5bafa0b preserve Aircoookie LICENSE 2023-07-26 12:13:11 +02:00
Frank
a97cc1ddcd Update readme.md
Correct some links and references
2023-07-25 22:01:13 +02:00
Frank
512c6689f2 typos 2023-07-23 23:50:44 +02:00
Frank
5837df8ef4 platformio: speed version for ESP32-S3, minor updates
* added [env:esp32S3_8MB_S] with optimization for speed
* minor cleanups for MM environments
2023-07-23 23:45:57 +02:00
Frank
e64aff28e7 (experimental) compiler optimization for speed instead of size
only for [env:esp32_4MB_S] and [env:esp32_16MB_V4_S]
2023-07-21 22:46:20 +02:00
Frank
b4faffb731 platformio.ini : new MM config for -S3 with PSRAM (8MB or 16MB)
- you need to install the bootloader from platformio build folder
- only for "opi" (octal) PSRAM; will not work with "qspi" (quad) PSRAM (2MB or 4MB)

-small cleanups for -S3/-S2/-C3 environments
2023-07-21 18:36:53 +02:00
Frank
4984c578cc minor speedups
* added IRAM_ATTR_YN to some frequently used color functions
* small optimization for fade_out: pixel already has "target color"
2023-07-21 15:59:32 +02:00
Frank
5707d85ed5 coredump partition update
arduino-esp32 v2.0.6 finally supports coredumps in flash.
2023-07-21 14:46:05 +02:00
Frank
7a38f319dc npm run build
... needed to add correct version info into the the UI files.
2023-07-15 21:41:02 +02:00
Ewoud
54b321fb75 Release 0.14.0-b25.29 2023-07-15 14:14:09 +02:00
Frank
ead76be9a3 Update index.js
Small update for upcoming release
2023-07-15 13:19:08 +02:00
Frank
5f55f91ff0 debug message cleanup
changed some non-critical USER_PRINT debug messages into DEBUG_PRINT
2023-07-14 16:17:42 +02:00
Frank
423d3720b2 post-merge
* disabled FASTPATH breaking changes in normal builds
* _S builds for esp32 stay fully FASTPATH enabled
* full movie quote
* npm run build
2023-07-13 21:44:12 +02:00
Frank
9243b90345 max is faster than MAX 2023-07-13 21:14:43 +02:00
Frank
99def6458f live view: more updates in non-fastpath builds 2023-07-13 21:11:33 +02:00
Frank
9a3a97eff1 pre-merge
cleanup:
- version increase
- clean up debug messages
- minor fixes in platformio.ini
- fix compilation with -D WLED_DISABLE_2D

helping the compiler to optimize:
- a few more __attribute__((pure))
- fx.cpp marked a few local functions as "static"
2023-07-13 19:58:48 +02:00
Frank
3295579e05 jsonToPixels robustness
avoid string overflow when constructing filename
2023-07-13 18:36:11 +02:00
Frank
0fb5edc4a2 robustness improvements from upstream
(from upstream alt-buffer branch)
* prevent drawing into inactive segments
* robustness improvements for transitions
2023-07-13 18:34:46 +02:00
Frank
c22c92e3af preview at full brightness
* reverts global brightness in preview
* can NOT revert brightness reductions from auto brightness limiter.
2023-07-10 18:29:16 +02:00
Frank
9ed5dc7c02 npm run build 2023-07-08 23:12:55 +02:00
Frank
9a832ed4ab build number upgrade 2023-07-08 23:11:02 +02:00
Frank
c64f74a611 fix for random crashes on changing presets (UI)
Segments are created/deleted on-the-fly; it seems that "local leds" buffers did not follow properly.
* revise segment copy/move constructors
* de-optimize use of local leds (as they need to be re-allocated when segment size changes)
* minor stability improvements
2023-07-08 22:40:43 +02:00
Frank
a45306b141 blur speedup
it seems that SEGMENT.blur() is the main bottleneck for many 2D effects.

This change optimizes performance of the function:
* avoid to re-write unchanged pixels
* early exit when blur_amount == 0 (=nothing to do)
* use _fast_ types where possible

I've seen up to 20% speedup with this change.
2023-07-08 20:06:52 +02:00
Frank
a2e2eada1b npm run build 2023-07-08 20:01:40 +02:00
Frank
5fe12eef5a Merge branch 'mdev' into audio_fastpath 2023-07-08 19:23:36 +02:00
Frank
72b79608bf 2DPlasmaball - optimize out float 2023-07-08 19:13:20 +02:00
Frank
2562f308ca fix power calculation for NeoPixelBusLg
power estimation results from estimateCurrentAndLimitBri() were too low (example: estimated 1.3Amp, measured 1.6Amp). This change corrects the power calculation. Due to the changed behavior of getPixelColor, powerSum must be used as-is, not scaled down again by brightness.
2023-07-08 19:13:20 +02:00
Frank
601499b69b XY: minor bugfix
properly handle width=0 OR height=0
2023-07-06 10:02:01 +02:00
Ewoud
2c823d9937 Move AS, Weather, Games, Batt from _M to _XL 2023-07-04 09:47:10 +02:00
Ewoud
f477191d51 Changing Z prefix by Y 2023-07-03 20:26:59 +02:00
Frank
7e34781212 ABL optimization
this optimization avoids to apply brightness two times .

NeoPixelBusLg has already applied global brightness at sPC. Due to internal working of the Lg bus, its sufficient to only post-apply scaling, and set the new (scaled) brightness for the next frame.
2023-07-03 19:41:51 +02:00
Frank
a71be02b89 de-optimization
first version still cased some flickering.
This de-optimization makes LEDs more stable.
2023-07-03 19:41:51 +02:00
Frank
358f37b7ca optimization for ABL hotfix
* adding an optional parameter to setBrightness(). ApplyPostAdjustments() will only be called if `immediate=true`. Only ABL will use immediate=true, to ensure electrical safety of equipment.

This allows some optimizations of performance, as ApplyPostAdjustments() is time consuming.

* busses.setBrightness(bri) --> applied to all future pixels (fast, lossless)
* busses.setBrightness(bri, true) --> applied directly to all previously set pixels (slower, lossy)
2023-07-03 19:41:50 +02:00
Frank
29644ccf79 ABL optimization
this optimization avoids to apply brightness two times .

NeoPixelBusLg has already applied global brightness at sPC. Due to internal working of the Lg bus, its sufficient to only post-apply scaling, and set the new (scaled) brightness for the next frame.
2023-07-03 19:26:02 +02:00
Frank
ecf331792b de-optimization
first version still cased some flickering.
This de-optimization makes LEDs more stable.
2023-07-03 19:26:02 +02:00
Frank
a84c361fab build number ++ 2023-07-01 20:35:25 +02:00
Frank
3cc1d30090 optimization for ABL hotfix
* adding an optional parameter to setBrightness(). ApplyPostAdjustments() will only be called if `immediate=true`. Only ABL will use immediate=true, to ensure electrical safety of equipment.

This allows some optimizations of performance, as ApplyPostAdjustments() is time consuming.

* busses.setBrightness(bri) --> applied to all future pixels (fast, lossless)
* busses.setBrightness(bri, true) --> applied directly to all previously set pixels (slower, lossy)
2023-07-01 20:23:39 +02:00
Will Tatam
1c8c1bb657 Fix speed reduction in usermod_v2_animartrix 2023-06-29 23:31:56 +01:00
netmindz
40751b46bf Merge pull request #55 from netmindz/animartrix-updates
Animartrix updates
* Usermod to be disabled by default to not clutter the list of effects too much
* Disabling actually preventing the effects being listed (reboot required)
* Updated library with fix for SM1
* Pass speed slider to animartrix speed factor
2023-06-29 13:15:01 -07:00
Will Tatam
918ed57f1b Fix speedFactor midpoint 2023-06-29 21:13:27 +01:00
Will Tatam
0bd7acadf3 call init for RGB_Blobs5 2023-06-29 13:19:58 +01:00
Will Tatam
258a3e5bfb Dynamic radial_filter_radius 2023-06-29 13:05:04 +01:00
Will Tatam
1df0229a17 Dynamic radial_filter_radius 2023-06-29 13:00:34 +01:00
Will Tatam
850c9beec5 Add speed slider for animartrix effects 2023-06-29 12:53:55 +01:00
Will Tatam
1f0dc486ad animartrix update for fix for SM1 2023-06-29 12:22:54 +01:00
Will Tatam
a0b913db27 Disable Animartrix by default 2023-06-29 12:17:55 +01:00
Will Tatam
d41f24fb15 Only add animartrix effects when usermod is enabled 2023-06-29 12:16:45 +01:00
Will Tatam
417bef0026 setSpeedFactor for animartrix 2023-06-29 12:16:17 +01:00
Will Tatam
3eed40331f setSpeedFactor in animartrix 2023-06-29 12:04:46 +01:00
Ewoud
17147f3b50 Prepare for upstream merge: seperate declarations from definitions
In rotary and 4ld
2023-06-27 22:21:20 +02:00