Commit Graph

339 Commits

Author SHA1 Message Date
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
Blaz Kristan
c6126db2a2 Bugfix for 1D setPixelColor
Float vStrips.
Fix misspelled MISOSPI.
2022-08-27 18:25:54 +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
Blaz Kristan
af5e38e5ee Fix for segment on/off transitions.
Fix for missing return.
Slightly smoother Chunchun, added Speed parameter for Hiphotic.
2022-08-23 15:57:05 +02:00
Blaz Kristan
d3d8fdff13 Transpose fix. 2022-08-22 22:02:36 +02:00
Blaz Kristan
59b038b8c4 Index under- shooting.
Fix for arc 1D to 2D mapping.
UI segment 2D mapping fix.
Watchdog reposition & flicker reduction.
2022-08-22 16:48:19 +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
Blaž Kristan
4e0cf380be Fix for 0 duration/reset runtime. 2022-08-11 11:23:39 +02:00
Blaz Kristan
1cb3ab82c2 Reduction of flicering on web access (info) 2022-08-10 20:53: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
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
ewowi
a098aa0a89 leds array from CRGB to uint32_t 2022-08-02 22:06:13 +02:00
Blaz Kristan
0ba8bace0d 2D optimisations. 2022-08-02 18:27:32 +02:00