Commit Graph

4148 Commits

Author SHA1 Message Date
Frank
6e14dac049 ripple and rain effect fixes (for large fixtures)
* made timing calculations work with large led counts
* improve randomness by injecting esp_random()
* ripple 2D: avoid ugly artifacts, by limiting circles to on-screen coordibnates
2024-12-12 17:25:46 +01:00
Frank
3ef8d93bbe another attempt to reduces flickering
* BusManager::show(): explicitly wait until the bus driver is idle (done by NPB show, too, but in a different way)
* BusManager::removeAll(): use delay() instead of yield() - yield() does _not_ free the processor on esp32!
2024-12-12 14:50:39 +01:00
Frank
40bfe619b9 bugfix: avoid double blanking segments
if both seg.reset and seg.needsBlank were set, this caused a second (unwanted) blanking in frame 1.
2024-12-11 18:52:02 +01:00
Frank
2cc08486fd change version numbering scheme
* use 14.5.0-dev instead of "0.14.5.0-b32.41.dev"
* new release name "Small Step"

* semantic versioning compatibility checked, see  https://jubianchi.github.io/semver-check/#/version/14.5.0-dev
2024-12-11 15:09:05 +01:00
Troy
a5e9df6668 Revert "Merge pull request #204 from troyhacks/Strip_Level_Color_Adjust"
This reverts commit db55872732, reversing
changes made to 972257a7ee.
2024-12-10 12:14:03 -05:00
Troy
6ad0b2893a Merge branch 'mdev' into Strip_Level_Color_Adjust 2024-12-10 12:12:44 -05:00
Frank
972257a7ee minor code cleanup
* removed dead code
* prevent promotion to double
* made constants constexpr
* made some methods const
* fixed a few typo's
2024-12-04 22:18:39 +01:00
Frank
102d098e28 bugfix #3 for ghostly appearing switched-off segments 2024-12-04 18:05:37 +01:00
Troy
3dbf78aa2d Merge branch 'mdev' of https://github.com/troyhacks/WLED into mdev 2024-12-04 10:53:58 -05:00
Troy
e5b22bc8d1 Cosmetic 2D Setup change: Start at Panel 1 instead of 0 2024-12-04 10:53:48 -05:00
Frank
9ea2303ecb DNA effect optimization (phases)
* non-breaking - reproduces the old behavior at phases = 127
* minor math optimizations
* phase boost for large values (good for small panels)
2024-12-03 20:00:26 +01:00
Frank
86ed5a82e3 DNA effect: additional parameter "phases" (thanks @ewoudwijma )
controls the number of phases shown by the effect

breaking - the old code was using a fixed width per wave,  while the new one always fits the same number waves into the panel width.
2024-12-03 16:31:52 +01:00
Frank
23d41e66c9 bugfix #2 for switched-off segments
segments that are "off" were still rendered during transitions.
2024-12-03 16:04:21 +01:00
Frank
9922d2aa8d bugfix: don't render segments that are "off" 2024-12-03 14:44:46 +01:00
Frank
0dbde5a257 audioreactive multi-comet (backported from WELD-SR 0.13.4) 2024-12-03 13:06:47 +01:00
Frank
f2f621befc minor FX improvements
Fire2012: better randomness
Julia: avoid darkening when using "blur"
2024-12-03 12:48:11 +01:00
Troy
994a9e7212 Fix Color Order GUI for Art-Net 2024-12-02 09:15:21 -05:00
Frank
a0e03766ef blends effect bugfix
quick fix for "missing pixel 256" problem
2024-12-01 20:02:44 +01:00
Frank
9ff235e153 Show "NO PSRAM" on info page
... to help diagnose problems that come from wrong PSRAM settings
2024-11-29 18:29:28 +01:00
Frank
b0b6ec37fd support for benchmarking FastLed vs. WLED triginometry 2024-11-29 15:05:47 +01:00
Frank
b2364bf4a5 chunchun effect bugfixes (for strips >256 pixels)
* avoid 16bit overflows
* improve time resolution
* limit to 32 birds (=max for 256 pixels)
* fix fade_out
2024-11-29 11:56:35 +01:00
Frank
6c87799ce5 post merge 2024-11-29 00:48:27 +01:00
Damian Schneider
e914417c74 Merge pull request #4181 from DedeHai/0_15_trig_math
Added integer based `sin()/cos()` functions, changed all trig functions to wled_math
2024-11-29 00:23:43 +01:00
Frank
5ea9cb1907 Octopus code improvements
* removed dead code
* merge octopusStep and radialStep --> octoSpeed
* improve speed slider resolution by first multiplying, then dividing

Thanks @ewoudwijma
2024-11-28 22:21:47 +01:00
Frank
9046ec4bde Octopus minor optimization
replacing "map" with direct computation
2024-11-28 18:15:17 +01:00
Frank
1670330b1b Octopus Radial Wave mode 2024-11-28 17:51:39 +01:00
Frank
f21b2949f1 fix for effect double restart problem when cross-fade is enabled
we only use palette and brightness transitions, so effect restart at the transition end is not required.
2024-11-27 21:13:46 +01:00
Frank
59d5ff02c5 Flat GEQ improvement for shorter stips
only center bars if we more than 4 pixels per bar.
2024-11-27 13:18:43 +01:00
Frank
8ff0223520 GEQ flat mode for 2D
you still have to use a trick -> the "expand 1D" drop-down is hidden once you select a 2D-capable effect

* Create your segment with 2 colums or 2 rows (might also need "transpose"
* Select a 1D effect like chunchun
* set expand to "Pixels" or "Bar"
* now select the GEQ effect

--> Flat GEQ runs in the previously set expand mode.
2024-11-27 11:59:13 +01:00
Frank
402786c14e GEQ FLat mode (1D) 2024-11-27 11:11:07 +01:00
Frank
c44784071e small tails for rolling balls 2024-11-27 11:07:56 +01:00
Frank
ccf1b044ce allow tri fade effect on 0D (single pixel) 2024-11-26 15:33:56 +01:00
Frank
ae07672710 swirl effect bugfix
avoid drawing outside of visible area
2024-11-26 14:20:07 +01:00
Frank
827cf87860 Merge pull request #4188 from LuisFadini/0_15_brt_timezone
Added BRT timezone
2024-11-26 11:59:20 +01:00
Frank
7d10bd0cd9 Allow TV Simulator on single LED segments
I've checked the code - nothing preventing the effect to run with SEGLEN=1
2024-11-25 15:50:02 +01:00
Frank
7ad67b5f64 blurz effect upgrade
* avoid black spots
* better randomness on esp32
* new mode "FreqMap" (checkbox) - blob location follows major frequency
* new mode "GEQ scanner" (checkbox) - blob location based on GEQ band

--> looks cool with Pinwheel or Bar or Arc mapping
--> will be even better with the new Waterfall mapping mode
2024-11-25 13:35:16 +01:00
Frank
5a2096ab21 partly inline getPixelColorXY
allows the compiler to inline access to ledsrgb[] , while still keeping the "no buffer" case in a separate function so program size does not blow up.

--> up to 10% faster
2024-11-24 19:09:35 +01:00
Frank
ce8fc8930e const const const
small speedup by declaring some functions "const"
2024-11-24 17:45:25 +01:00
Frank
61c2ba98b7 HUB75 small speedup
gave me 1-3 extra FPS on -S3 with 128x64
2024-11-24 17:32:59 +01:00
Troy
3b46af1101 Make IP clickable via serial monitor 2024-11-23 18:13:05 +01:00
Frank
d2a7b9e450 2nd try for a tiny unrelated fix 2024-11-21 18:22:21 +01:00
Frank
00b338c12a Revert "tiny unrelated fix"
This reverts commit 677e3de2e7.
2024-11-21 18:20:23 +01:00
Frank
677e3de2e7 tiny unrelated fix 2024-11-21 18:17:41 +01:00
Frank
cfce1c3062 2D Drift speedup
pre-calculating the reduced angle (i.e. `angle % 360deg` ) is several times faster than letting sin and cos do the job.
2024-11-21 18:17:06 +01:00
Troy
d4e95b1360 GoL faster random during setup 2024-11-19 18:37:37 -05:00
Frank
b1064e1cfe HUB75: use FM6124 driver for outdoor
It seems that the FM6124 driver makes some "outdoor" panels work, that previously only showed random color flicker. FM6124 is largely compatible with panels that did work with the standard driver, too.
2024-11-18 23:58:43 +01:00
Frank
fb259d1bc6 Merge pull request #179 from troyhacks/Art-Net-Improvements-v2
Art-Net Improvements
* AsyncUDP instead of WiFiUDP so it's much faster
* Support for professional Art-Net gear with many outputs
* Color-order remapping
* ESP32-P4 SIMD assembly optimization for brightness calc, a bit faster
* Full GUI support for all settings
* GUI guidance for setup
2024-11-18 13:47:17 +01:00
Troy
0fc22f8150 Merge branch 'Art-Net-Improvements-v2' of https://github.com/troyhacks/WLED into Art-Net-Improvements-v2 2024-11-17 18:37:33 -05:00
Troy
db3be8580f Art-Net v2 code review changes 2024-11-17 18:37:30 -05:00
Troy
b62a22e4e6 Remove unused variable 2024-11-17 18:26:04 -05:00