Commit Graph

5369 Commits

Author SHA1 Message Date
Will Tatam
ab89cd534d Start playlist at higher ID if needed due to more effects, from usermods 2024-03-06 18:56:21 +00:00
Troy
c5d7e42faa Quick hack to adjust color balance on some LEDs 2024-03-06 13:39:19 -05:00
Will Tatam
265339cc3f Trying to add enable button to info panel 2024-03-06 18:38:27 +00:00
Will Tatam
a8661b5125 Set autochange in correct state 2024-03-06 10:43:16 +00:00
Will Tatam
730714b0d6 Add TroyHacks auto change 2024-03-06 10:10:16 +00:00
Will Tatam
6b194ef33d Merge branch 'ar-energy' into auto-playlist 2024-03-05 23:35:54 +00:00
Will Tatam
6550504f60 Troy's extra data 2024-03-05 23:35:23 +00:00
Will Tatam
43e5a12b1d name 2024-03-05 21:23:19 +00:00
Will Tatam
4f9675bf9f add preferences 2024-03-05 21:14:45 +00:00
Will Tatam
b161179636 add preferences 2024-03-05 21:05:05 +00:00
Will Tatam
993b123c8e Basic usermod for detecting silence 2024-03-05 19:41:19 +00:00
Troy
e6395e879d Merge branch 'MoonModules:mdev' into downsample4x 2024-03-05 06:58:59 -05:00
Ewoud
65027331c7 Copyright and license updates 2024-03-04 21:27:01 +01:00
Troy
639e911e4b Decimation wins for better speed with accuracy 2024-03-04 10:19:58 -05:00
Troy
ed897968b9 Decimation instead of averaging. 2024-03-03 15:29:43 -05:00
Brandon502
987a662977 Game of Life - Bug fix
Fixed small bug in new detection method. Start and final frames are displayed slightly longer.
2024-02-28 19:40:40 -05:00
Brandon502
ba5731654f Game of Life - changed repeat detection
Simplified repeat detection and code cleanup. Only storing 2 crc values. prevAlive and counter no longer needed.
2024-02-28 15:20:12 -05:00
Brandon502
73091d170c Game Of Life - Reduced Memory Usage
Each cell now only needs 2 bits of data instead of 6 bytes.
2024-02-26 20:04:48 -05:00
Will Tatam
f1a494f82d Cleanup comments 2024-02-26 22:47:33 +00:00
Will Tatam
2f87b616cd Default to mrfaptastic pinout 2024-02-26 21:27:27 +00:00
Brandon502
ce1b811667 Game of Life - Added overlay option
Added option to overlay alive cells. Required more memory usage.
2024-02-25 21:25:20 -05:00
Brandon502
7b890986d8 Game of Life - Rework
No longer uses ColorCount struct. Removed randomness. Improved infinite pattern recognition. Adds color mutation slider and wrap option.
2024-02-25 21:06:18 -05:00
Will Tatam
68ca14a0ca Remove TODO 2024-02-25 22:06:45 +00:00
Troy
f46d7f197f Merge branch 'MoonModules:mdev' into downsample4x 2024-02-25 16:53:55 -05:00
Will Tatam
69436a6f61 Merge branch 'mdev' into ESP32-HUB75-MatrixPanel-DMA 2024-02-25 21:34:47 +00:00
netmindz
e7bf24c15d Merge pull request #119 from netmindz/html-gen
generate wled00/html_*.h files
2024-02-25 21:33:07 +00:00
Will Tatam
fe482c6f90 Merge branch 'mdev' into html-gen 2024-02-25 21:24:53 +00:00
Will Tatam
a7ad79678b generate wled00/html_*.h files 2024-02-25 21:21:19 +00:00
Frank
1350a4111d Arc optimization: symmety at 45degress
If the segment is wider than 20 pixels, we optimize calculations due to symmetry - for smaller arcs the result looks better without optimization.

As a side-effect, we have enough computing power left to go through the complete circumference, avoiding holes.
2024-02-25 22:02:51 +01:00
Frank
9f5a75ffab build number up 2024-02-25 19:48:06 +01:00
Frank
8a0b97e0a8 ARC mapping optimization
The biggest optimization was to avoid sin_t / cos_t.
Now let's try to help the compiler optimize the drawing loop.
2024-02-25 19:46:53 +01:00
Frank
e0f08864a2 remove slow and inaccurate math from time critical code
as it turns out, the "_t" functions (from wled_math.cpp) are about 3 times (!!!) slower than the standard functions.

* mapping modes : Arc and Circle
* effects: 2D Drift, 2D Drift Rose
2024-02-25 19:36:29 +01:00
Will Tatam
43320a0eef pixel limit for hub75 2024-02-25 17:02:59 +00:00
Will Tatam
668a7577d4 pixel limit for hub75 2024-02-25 17:01:16 +00:00
Will Tatam
c463d5179d Set pixel limit by bus type 2024-02-25 17:00:41 +00:00
Frank
ff56cf0ee9 Pinwheel speed optimizations
* use "float" math only - sinf(), cosf(), roundf()
* use fewer "rays" for medium-sized matrix (<=32 pixels wide/high)
* ray drawing optimized to use fixed point

up to 80% faster on esp32 and esp32-S3; -S2/-C3 should also see benefits, as these do not have floating point support in hardware.
2024-02-25 18:00:19 +01:00
Will Tatam
3162579f8e reset default back 2024-02-25 16:16:03 +00:00
Will Tatam
b793bb33c7 Allow more pixels 2024-02-25 13:44:23 +00:00
Troy
f0aa5d3a9e Merge branch 'MoonModules:mdev' into downsample4x 2024-02-25 08:36:53 -05:00
Will Tatam
565e74082e Try LOLIN_WIFI_FIX with matrix portal to see if that helps with poor wifi 2024-02-25 12:30:27 +00:00
Will Tatam
bf1a91a501 Resolve validation error for length 2024-02-25 12:07:02 +00:00
Will Tatam
e3e9ff72fa Force chain length to 1 for 64 panels 2024-02-25 11:24:12 +00:00
Will Tatam
240c55da29 Update generated html 2024-02-25 10:40:25 +00:00
Ewoud
d9e2fc9a99 appendGPIOinfo NUM_DIGITAL_PINS fix 2024-02-25 11:01:03 +01:00
Will Tatam
e2aad4783d Allow chain of 1-4 panels - subject to memory 2024-02-24 17:27:20 +00:00
Will Tatam
26de408626 Add 8S and 16S, 1/8 ad 1/16 support 2024-02-24 11:30:22 +00:00
Will Tatam
3b1f408b25 Check full range of TYPE_HUB75MATRIX types 2024-02-23 20:10:45 +00:00
Frank
96d275e2b9 minor optimization for PinWheel mapping
use "float" math functions. These are slightly faster. By avoiding to pull in "double" math we also save some flash space.
2024-02-23 12:34:14 +01:00
Frank
07b770958f revert changes to wled_server.cpp (requestJSONBufferLock(14) error)
I've had strange UI errors after this change, so cowardly taking it back..
2024-02-23 12:01:33 +01:00
Frank
c8e181f3b1 overlooked one 2024-02-23 11:19:17 +01:00