Blaz Kristan
983aca515d
Compile fix for disabled 2D.
2023-01-02 21:24:02 +01:00
Caleb Marting
187ecf511f
2d Mapping with Matrix Gaps ( #2892 )
...
* New 2d mapping
* panel matrix generator
* add todos, fix vert/horz swap
* Fix 2d mapping to matrix in settings 2D
* add correct index mapping to pixels per panel
* fix panel bug in led layout
* formatting and change max panels
* add per panel width and height
* fix using length instead of custom mapping size
* fix: panel dimensions location
* panel[] implemented as a vector.
Removed matrixWidth & matrixHeight.
Panel structure update.
* Fixes.
Co-authored-by: Blaz Kristan <blaz@kristan-sp.si>
2023-01-02 20:56:00 +01:00
Blaz Kristan
22b2503839
Bugfix & code optimisation.
2022-12-22 18:13:32 +01:00
Blaz Kristan
3c5838cafd
Remove "strip" dependency in Segment class
2022-12-16 22:31:07 +01:00
Blaz Kristan
8899684092
Select custom palette bugfix.
2022-11-25 17:33:29 +01:00
Ewoud
740316ae2b
Effect ID's back to 0.13 numbering ( #2856 )
...
* Effect ID's back to 0.13 numbering
Needed for sync between versions and allow 0.13 presets to work in 0.14
* Effect ID's back to 0.13 numbering (part2)
2022-11-14 02:29:59 +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
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
Blaz Kristan
c9fd69ceb7
Preset loading tuning.
...
Multi-relay toggle support.
Fire2012 tuning.
2D functions tuning.
Global SPI comments & tuning.
Bugfix in 4LD usermod.
2022-09-09 17:21:13 +02:00
Blaz Kristan
4480abc646
Better palette blends.
2022-09-06 21:47:50 +02:00
Blaz Kristan
2c27240da6
Remove DISABLE_AUDIO
2022-09-05 00:43:26 +02:00
Blaz Kristan
787f5f06df
Global gamma.
...
Randomcycle palette bugfix.
2022-09-04 20:17:05 +02:00
Blaž Kristan
da0da4c75e
Remove NONUNITY
...
Expand soundSim
Tetrix optimisation
2022-08-31 14:24:02 +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
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
Blaz Kristan
32fc6d4b7f
Binary effect parameters.
2022-08-12 17:58:20 +02:00
Blaz Kristan
957948f906
Code optimisations in effects.
...
Remove Wire initialisation from RTC.
Peek fix.
2022-08-09 21:14:37 +02:00
Blaž Kristan
acb17dc575
Fix addEffect()
2022-08-08 10:21: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
095099a085
Rename WLED_NO_AUDIO
2022-08-05 15:54:48 +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
Blaž Kristan
c5f3e76b21
Compile optimisations, code reduction.
...
2D peek resize.
2022-08-03 14:23:24 +02:00
ewowi
a098aa0a89
leds array from CRGB to uint32_t
2022-08-02 22:06:13 +02:00
ewowi
44c585e8c8
Merge branch 'ledsArrayToSGPC' into integration
2022-08-02 21:12:59 +02:00
ewowi
640f45f57d
Remove leds array from utility functions + small things
...
- Remove CRGB* leds from utility functions
- GameOfLife: fill_solid for prevLeds to for loop
- Remove if !fftResult
- Funky Plank: toggle src and dst
- Comment drawLine as not used
- Duplicate FadeToBlack, call one FadeToBlackOld
2022-08-02 19:44:27 +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
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
52b863fe36
Memory allocation bugfix.
2022-07-29 20:24:29 +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
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
Blaž Kristan
1151b615a0
Fix for SEGLEN
2022-07-14 13:47:30 +02:00
Blaž Kristan
0cf891b9d9
Optimisations
2022-07-14 13:22:34 +02:00