Commit Graph

5763 Commits

Author SHA1 Message Date
Brandon502
5b3d85fe3e GoL - bgBlendMode fix
Use superDead correctly with bgBlendMode
2024-11-16 15:56:57 -05:00
Brandon502
8a0660c130 GoL - 1 Byte version
Removed future status/neighbors. Uses 2 loops to set cells. Shifting from future to current no longer needed.
2024-11-16 12:59:39 -05:00
Brandon502
aafbdb7d27 Merge remote-tracking branch 'upstream/mdev' into GoL-Fast 2024-11-16 12:56:29 -05:00
Frank
52509bab0f OTA update improved error messages
The OTA update class can deliver an error message.

old: "Please check your file and retry"
new: "Could Not Activate The Firmware. (wrong board type?). Please check your file and retry!"
2024-11-16 18:13:15 +01:00
Frank
7167db4a22 Polar Lights upgrade
* stop flickering when rows > 56
* blur option added
* allow to use palettes
2024-11-16 01:43:18 +01:00
Frank
db1db330af HUB75: bugfix for 4-scan (virtual) panels chain
module cols parameter must be chain_length
2024-11-15 23:33:57 +01:00
Frank
06fc1eb5b8 HUB75: use last brightness on re-init
avoids brightness flash when saving LED preferences
2024-11-15 22:33:29 +01:00
Brandon502
270e7265cf Merge remote-tracking branch 'upstream/mdev' into GoL-Fast 2024-11-15 16:05:14 -05:00
Frank
d6dedd025d color_fade optimizations
* removed unnecessary conditions
* optimized bit-shifting logic
* use uint16_t for colors, to prevent the compiler from using 64bit integer
2024-11-15 20:12:01 +01:00
Frank
e756216eca drift rose optimizations
* pre-calculate some repeated values
* added option "full expand" that zooms in on non-square panels
2024-11-15 20:08:36 +01:00
Frank
6ef0578613 color_blend accuracy improvements
For 8bit blends, we adopt the new blend8() logic from FastLED.

The WLED color_clend function is based on very old FastLED code, that was replaced 3 years ago due to serious rounding problems.
2024-11-15 15:14:44 +01:00
Frank
776718b734 2D drift improvements for large panel sizes
speedup, accuracy improvements and enhancements:
* separated calculations in float from integer
* improved time resolution
* slow down effect on for dimensions >32
* added original "twin" option
* added customizable blur (thanks dedehai)
2024-11-14 18:30:43 +01:00
Brandon502
f205476848 Merge remote-tracking branch 'upstream/mdev' into GoL-Fast 2024-11-14 10:33:43 -05:00
Frank
81facea82f color_fade small improvement
avoids over-blending, and gives a tiny speedup.
2024-11-14 14:14:36 +01:00
Brandon502
192b4a8fb5 Merge remote-tracking branch 'upstream/mdev' into GoL-Fast 2024-11-13 22:05:18 -05:00
Brandon502
5d27e8f340 GoL - Minor Changes
Use defined(ARDUINO_ARCH_ESP32)
getNeighborIndexes loop changes
offsets use int8_t
change prevRows/Cols to uint16
2024-11-13 22:05:13 -05:00
Frank
5ea3aa9ce5 misses one 2024-11-14 00:00:58 +01:00
Frank
c73ed486e9 effect bugfixes for width>255
* band-aid for ripple, matrix, crazy bee
* arc mapping fix for diameter > 255
* small speedup for "block" mapping
2024-11-13 23:57:53 +01:00
Frank
202255849f fix errors when width>255 or height>255
some effects still don't work when x y dimensions do not fit into 8bit
2024-11-13 23:06:27 +01:00
Frank
df9b1a41a9 Update .gitignore
lowercase
2024-11-11 11:55:58 +01:00
Frank
7a3a1ce177 add some CLion internal files to .gitignore 2024-11-10 21:37:10 +01:00
Frank
8f4b6d01d4 add [env:esp32s2_PSRAM_S]
with reduced functionality, to be OTA compatible to upstream WLED
2024-11-10 20:51:30 +01:00
Brandon502
549380a2bf Game of Life Optimizations
Uses more memory to achieve much higher framerates on large setups. Neighbor counts are stored instead of constantly recalculated. CRC is no longer used for repeat detection so false positives are no longer possible.
2024-11-09 15:50:20 -05:00
Frank
537638e5a2 Bugfix: saving LED settings not possible when brightness limiter disabled
--- and the "Maximum Current" field is empty or has a value below 250.
2024-11-08 14:30:19 +01:00
Frank
2e80d96400 HUB75 - comment out dead code 2024-11-08 12:24:34 +01:00
Frank
b1194f597c fix for a potential endless loop in palette blending
this bug is hard to trigger - when a palette transition is in progress and the main loop gets delayed (wifi connect, saving large preset files) then a calculation in setCurrentPalette() could overflow leading to an infinite loop.
2024-11-08 12:12:22 +01:00
Frank
426805f674 bugfix: effect sliders cause screen balnking
@Brandon502 it works now with the matrix effect, can you retest please?
2024-11-07 21:03:56 +01:00
Frank
0b25c2757d remove ESP-NOW from esp01_1MB_S
over 100% flash usage.
2024-11-07 19:54:41 +01:00
Frank
aafebf7aad bugfix: make pseudo-1D segments (width=1, height=x) work again 2024-11-07 19:34:19 +01:00
Frank
53ecf16ab1 bugfix: make freeze work again
the last commit had a side-effect that cause "freeze" to first blank the screen, then freeze.
2024-11-07 16:43:20 +01:00
Frank
d1541b520f Bugfix: remove ghost pixels when changing segment options
... transpose, mirror, reverse, grouping, spacing, size

* unlike AC WLED, when calling seg.fill(BLACK) from webserver context this usually has no effect --> added  markForBlank() that shedules segment blanking at the next drawing cycle
* fill previous segment with black when size, grouping or spacing changes
2024-11-07 14:36:39 +01:00
Frank
bab415156b HUB75 input validation (return of hack-the-DOM) 2024-11-07 12:25:18 +01:00
Frank
c5ebf259cf HUB75: allow up to 6 panels on -S3 2024-11-07 00:25:35 +01:00
Frank
cbd1ce4705 HUB75 hack-the-DOM
* Reversed -> mxconfig.clkphase ; "Inverted clock phase"
* Off Refresh -> mxconfig.latch_blanking = 1; "Single-cycle latch blanking"
2024-11-07 00:06:46 +01:00
Frank
7fb3fe65b2 experimental: strict framerate limit for strip.show() 2024-11-06 13:19:54 +01:00
Frank
d53c0a31e9 FPS calculation minor improvement
seems to work better without rounding
2024-11-06 13:18:33 +01:00
Frank
7f3d43bc57 WS2812FX::service() fix for non-fastpath builds 2024-11-05 18:50:22 +01:00
Frank
a2e9e77ca7 setTargetFps with rounding 2024-11-05 18:07:17 +01:00
Frank
b793c7cb9c trying to stabilze FPS for Art-Net 2024-11-05 17:44:57 +01:00
Frank
9d84fa6bea Minor UI improvement: link FPS warning to Backup&Restore page 2024-11-05 12:06:48 +01:00
Frank
bceb52411d Merge pull request #177 from MoonModules/moonHUB
add support for T7-S3 (LILYGO / TTGO) with MOONHUB
2024-11-04 23:06:23 +01:00
Frank
0ec5d3394f T7-S3 (LILYGO / TTGO) with MOONHUB
build env and HUB75 pinout for S3 and MOONHUB HUB75 adapter board
2024-11-04 22:54:30 +01:00
Frank
d0f90d0dd2 effect FPS tinkering 2024-11-04 16:28:13 +01:00
Frank
0d6e2c9485 UI improvement (target FPS settings) 2024-11-04 16:01:48 +01:00
Frank
ebeff6590a Merge pull request #176 from MoonModules/showtime
Improved framerate control code - strip.show(), strip.service()
2024-11-04 14:44:37 +01:00
Frank
68c4b830a6 legacy code cleanup 2024-11-04 14:17:59 +01:00
Frank
dc4964a491 small update
based on feedback from the PR to upstream
* support "0 FPS" meaning "unlimited"
* keep FRAMETIME_FIXED fixed
2024-11-04 13:47:05 +01:00
Frank
39bf245d1e HUB75 driver optimization
gains up to 3 fps in some effects.
2024-11-03 21:54:41 +01:00
Frank
ffa5445aec minor pio update
avoid pin conflicts with HUB75
2024-11-01 20:13:11 +01:00
Frank
1a44a80830 MM buildenv for S3 WROOM-2 (32MB flash, 8MB PSRAM)
this board requires memory_type = opi_opi
2024-11-01 20:08:05 +01:00