Commit Graph

356 Commits

Author SHA1 Message Date
Ewoud
91c2ce0d8f Merge remote-tracking branch 'origin/ac_main' into mdev 2022-11-28 19:58:51 +01:00
Blaz Kristan
8899684092 Select custom palette bugfix. 2022-11-25 17:33:29 +01:00
Ewoud
1fa903ad81 Merge remote-tracking branch 'origin/ac_main' into mdev 2022-11-24 16:25:27 +01:00
Ewoud
ace3035d4a Small changes and version 0.14.0.6.0
Including 2D peek max 4096 leds
2022-11-24 10:57:18 +01:00
cschwinne
324fc149b3 Shorter JSON keys for 1d2d map and sound sim
(smaller fxdata, saves 100b flash, slightly shorter json doc)
2022-11-24 04:15:24 +01:00
Ewoud
f1088a6ed7 Reinstate ledmap on 2D
FX.h / FX_2Dfcn.cpp: 
- setUpMatrix with reset option (create 1:1 matrix) and customMappingTable[customMappingTable[x]] 

FX_fcn.cpp: 
- deserializeMap: also for 2D, use setUpMatrix
2022-11-22 10:00:53 +01:00
Will Tatam
389d0047bc Use targetPalette.loadDynamicGradientPalette 2022-11-18 21:42:44 +00:00
Will Tatam
850dd89d06 Fix palette ordering 2022-11-18 16:14:06 +00:00
Will Tatam
359ef875de Add second audio responsive palette 2022-11-18 12:10:20 +00:00
Ewoud
181f8c546b Add audio responsive pallette by Netmindz
const.h: increase GRADIENT_PALETTE_COUNT
fcn_declare: add getCRGBForBand
FX.h: add getAudioPalette
FX_fcn.cpp: call and getAudioPalette, add Audio Responsive palette
palettes.h: add audio_responsive_gp
util.cpp: add getCRGBForBand
2022-11-18 12:09:47 +01:00
Ewoud
017f0267a2 Increase 0.13 backwards compatibility
global LED buffer default true (0.13 backward compatibility)

Restore effects back to 0.13 (
- mode_wavesins
- mode_2DLissajous (uses segment setUpLeds)
- mode_2Dsquaredswirl (custom3<<3)
- mode_2DAkemi (uses segment setUpLeds)

setSegment implements setUpLeds if globalleds
2022-11-17 15:41:12 +01:00
Ewoud
fa5f50529f Merge remote-tracking branch 'origin/ac_main' into mdev 2022-11-17 10:42:58 +01:00
Blaz Kristan
c47d6cffa8 Missing presets.json on factory reset bugfix.
Clarification on loading ledmaps in UI.
Added manual ledmap loading.
2022-11-16 20:55:21 +01:00
Ewoud
ede08cedf2 Merge remote-tracking branch 'origin/ac_main' into mdev 2022-11-15 12:47:32 +01:00
Blaz Kristan
b141ec7ea7 Fix for #2880 (stateChanged on segment on/off)
Added comments.
Added X1, X2, X3, M1, M2, M3 segment options to HTTP API.
Added "on" handling with "ps".
2022-11-13 12:13:49 +01:00
cschwinne
c0a783198e Reduce fxdata size by about 200 bytes
Removed redundant commas before semicolon delimiter (`,;` -> `;`)
No need to transmit `@` in /json/fxdata
2022-11-11 03:10:41 +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
Ewoud
c3c3ff39b5 Change WLEDSR to WLEDMM in comments 2022-11-09 12:14:42 +01:00
Ewoud
46ee25b46b Platformio: further refactoring and bug fixing
platformio:
- min and max as postfix instead of prefix
- add common_mm entry for MM build_flags and lib_deps
- add esp32_4MB_V4_max_base entry for V4

const.h and FX_(2D)fcn.cpp: add IRAM_ATTR_YN to switch off if not esp32 (esp8266 not enough iram for this)

json.cpp: start stop compatibility only if 2D not disabled
2022-11-01 18:18:03 +01:00
Ewowi
f5718b67d4 expand1D: add Circles and Block and show virtualStrip effects with ⋮⋮
index.js: add Circles and Block, add 1.5d
FX.h: add Circles and Block
FX.cpp: add 1.5d to virtualStrip effects
FX_fcn.cpp: add Circles and Block
2022-10-21 12:05:57 +02:00
Ewowi
bd6ef0464f Merge remote-tracking branch 'origin/dev' into mdev 2022-10-10 16:35:25 +02:00
Blaz Kristan
bd025309fb Custom palette name bugfix. 2022-10-04 22:10:20 +02:00
Ewowi
ecb8e8f6dd Merge branch 'json-mapping' into mdev 2022-10-01 12:17:11 +02:00
Ewowi
6aa189fb65 Merge remote-tracking branch 'origin/dev' into mdev 2022-10-01 12:05:49 +02:00
Ewowi
1912bfe917 Refactor class JMapC
- Add XandY struct
- Add ArrayAndSize struct
- to be used in jVectorMap (instead of jMapDoc) :Smaller footprint!!
- introduce docChunk to parse with ArduinoJson in chuncks (smaller size!)
2022-10-01 12:03:57 +02: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
Ewowi
cd3fa2464a Merge remote-tracking branch 'origin/dev' into mdev 2022-09-27 14:59:57 +02:00
Frank
859dbd5b23 small fix for compiling with IDF v4.4.x
LITTLEFS -> WLED_FS
2022-09-27 12:54:24 +02:00
Blaz Kristan
dc700c41fb Invalid FX bugfix. 2022-09-26 21:26:00 +02:00
Ewowi
475a7379ee Merge branch 'json-mapping' into mdev 2022-09-20 11:21:58 +02:00
Ewowi
e10f8c8681 Move from DynamicJsonDocument to PSRAMDynamicJsonDocument 2022-09-20 11:18:20 +02:00
Ewowi
9dd8a59572 Merge remote-tracking branch 'origin/dev' into mdev 2022-09-19 22:55:35 +02:00
Blaž Kristan
26825ed60f Missing isActive() 2022-09-16 14:07:04 +02:00
Ewowi
5498de9616 json mapping: set jMap = nullptr on segment creation 2022-09-08 15:48:47 +02:00
Ewowi
a84afdf199 Merge branch 'json-mapping' into mdev 2022-09-08 11:38:45 +02:00
Ewowi
782caadc57 Merge branch 'dev' into mdev 2022-09-08 11:38:10 +02:00
Ewowi
a1fa1ff105 json mapping: refactor
- virtualLength back to const
- rename getjMap() to createjMap()
- rename initjMapDoc to updatejMapDoc
- rename jMapC to jMap
- updatejMapDoc: delete if no name, reset name if no file found
- case M12_jMap: do not use getjMap
- deserializeSegment: create or delete jMap
2022-09-08 11:37:23 +02:00
Blaz Kristan
4480abc646 Better palette blends. 2022-09-06 21:47:50 +02:00
Blaz Kristan
94243ac605 Better palette blending. 2022-09-06 21:44:11 +02:00
Ewowi
1b724dbc0b Merge branch 'json-mapping' into mdev 2022-09-06 17:44:25 +02:00
Ewowi
5b4c3dce1f Merge remote-tracking branch 'origin/dev' into json-mapping 2022-09-06 17:40:58 +02:00
Ewowi
985839dbef Create expand to json mapping
- add M12_jMap and use in vL, sPC and gPC
- add void *jMapC, getjMap and deletejMap to Segment!
- remove const from virtualLength as we assign jMapC
- add JMapC class
2022-09-06 17:31:17 +02:00
Blaz Kristan
787f5f06df Global gamma.
Randomcycle palette bugfix.
2022-09-04 20:17:05 +02:00
Ewowi
24bdfd2869 Merge branch 'dev' into mdev 2022-09-01 21:13:01 +02:00
Blaz Kristan
38bd0d6bbb Bugfixes 2022-08-31 21:21:53 +02:00
Ewowi
5b8ad8d714 Merge branch 'custom-effects' into mdev 2022-08-31 20:58:44 +02:00
Blaž Kristan
da0da4c75e Remove NONUNITY
Expand soundSim
Tetrix optimisation
2022-08-31 14:24:02 +02:00
Ewowi
06c0c0edfb CustomEffects as usermod: step 4: modify wledv123.json, add drawLine/Arc
General (for CE, but also used by M12_pArc)
- add drawArc

Custom Effects
- add WLEDSR Custom Effects comment to places in WLED where it is hooked in
- move from wled.json to wledv123.json
- rename matrixWidth/Heigth to width/height and use virtualWidth/Height
- remove setPixels
- add drawLine / drawArc
2022-08-31 13:14:51 +02:00
Blaz Kristan
cd7bcb79e5 Tetrix vStrip 2D modification.
AA version of Bouncing balls
Better AA
2022-08-30 17:18:56 +02:00
Blaz Kristan
005419ab9a vStrip calculation
remove Segment copy constructor
2022-08-29 21:51:46 +02:00