Damian Schneider
084fc2fcd1
bugfix & code formatting, removed color_scale
...
also replaced scale8_video with 32bit calculation in color_fade for consistency and speed.
2024-04-16 10:43:06 +02:00
Damian Schneider
459156fe57
added improvements to color scaling and blurring
...
-changes save roughly 600bytes of flash
-made blurring faster by not writing the color and then reading it back but keeping it as a variable: on a C3, FX black hole goes from 55FPS to 71FPS
-added optional parameter to blur (smear) that can be used in combination with SEGMENT.clear(), blurring the frame without dimming the current frame (repeated calls without clearing will result in white). this is useful to blur without 'motion blurring' being added
-scale8 is inlined and repeated calls uses flash, plus it is slower than native 32bit, so I added 'color_scale' function which is native 32bit and scales 32bit colors (RGBW).
2024-04-15 21:20:45 +02:00
Blaz Kristan
94cdd88474
Version bump B3
...
- fix for #3896
- fix WS2815 current
- conditional AA setPixelColor()
2024-04-13 18:25:25 +02:00
Blaz Kristan
58e8346209
Fix for #3889
2024-04-09 08:25:07 +02:00
Blaž Kristan
1cafa0b33f
Merge pull request #3880 from DedeHai/harmonic-random-palette-generator
...
Added fix for #3870
2024-04-07 22:03:59 +02:00
Damian Schneider
18c17168e1
replaced &0xFFFF with explicit casts
2024-04-07 16:07:37 +02:00
Damian Schneider
503c68320a
Bugfix: millis rollover (fix for #3870 )
...
millis()/1000 rollover after 18h was not handled, truncating to 16bits after division fixes it.
2024-04-05 07:23:28 +02:00
Blaz Kristan
f21ab3588d
Individual color channel control for JSON API
...
- fixes #3860
- debug verbose
- PSRAM detection
2024-03-29 16:43:37 +01:00
Blaz Kristan
47f44680a3
Multi-update
...
- 0.15.0-b2
- WS2805 support (NeoPixelBus 2.7.9)
- generic PSRAM support (ESP32 rev.1 still needs compile fix)
- BREAKING: default LEDPIN 2 (due to PSRAM)
- PinManager optimisations
2024-03-24 17:37:11 +01:00
Blaz Kristan
7a9eff7f35
Fix.
2024-03-18 20:23:30 +01:00
Blaz Kristan
0dcb56eab5
Modify Bus & BusManager to accommodate digital CCT
...
- additional fix in hasWhite() & setCCT() & hasCCT()
2024-03-16 12:36:05 +01:00
Blaz Kristan
989bdfb0d5
Reduce string RAM usage for ESP8266 debug builds
2024-02-17 11:33:42 +01:00
Blaz Kristan
7eae8f68d8
Merge branch 'main' into 0_15
2024-02-06 14:47:20 +01:00
Blaz Kristan
41e51bbeb5
Configuration item for harmonic palettes
...
Comment cleanup
2024-02-06 11:06:23 +01:00
Damian Schneider
ca05aa84ff
changed randomness and added optimizations
...
-added fully random palette function ('the old way', currently just used for initialization)
-changed randomness values to make it a little less random
-added 10% chance for pastel color palette
-now using swap() from std library for shuffeling
-changed function name
-moved update check from loadPalette() to handleRandomPalette() saving CPU cycles
2024-01-30 22:28:40 +01:00
Damian Schneider
ef6fe43251
random palette transitions with set transition time
2024-01-29 22:14:26 +01:00
Damian Schneider
f5ed757780
added some minor fixes
...
-fastled flags
-gamma correction
-pass by reference instead of pointer
2024-01-29 20:47:09 +01:00
Damian Schneider
e114b842ba
fixed initialisation or random palette
2024-01-29 20:47:08 +01:00
Damian Schneider
12e2116acb
bugfix, need to initialize the random palette to something useful
2024-01-29 20:47:08 +01:00
Damian Schneider
bccc97d25f
fixed include, bugfix in random palette handling
2024-01-29 20:47:08 +01:00
Damian Schneider
a9bcc75733
added function to generate random palette based on harmonic color theory
2024-01-29 20:47:08 +01:00
Blaz Kristan
7b87475af8
Fix random palette transitions.
2024-01-29 19:06:41 +01:00
Blaz Kristan
445a89ba6e
Try hard to release memory
2024-01-24 20:49:22 +01:00
Blaz Kristan
8868ecd11a
Cleanup 2
2024-01-22 20:48:03 +01:00
Blaz Kristan
bab42014a4
Fix for #3693
2024-01-16 19:35:18 +01:00
ezcGman
ff59dcd66e
Merge branch '0_15' of https://github.com/Aircoookie/WLED into ledmaps-realtime
2024-01-10 05:11:44 +01:00
Blaz Kristan
f070dc5527
Cosmetic & needsUpdate()
2024-01-04 17:40:23 +01:00
Blaz Kristan
fc6e7c81d3
Merge branch '0_15' into suspend
2024-01-04 17:33:07 +01:00
Blaž Kristan
301bdf2186
Merge pull request #3610 from Aircoookie/psram-4-json
...
Allow PSRAM (SPI RAM) to be used for JSON buffer
2023-12-30 11:00:53 +01:00
Blaz Kristan
1c1b67e000
Full per-port ABL implementation and bugfix.
...
Update of BusManager class (static)
2023-12-29 23:07:29 +01:00
Blaz Kristan
bc85520f5e
Merge branch '0_15' into suspend
2023-12-28 23:38:42 +01:00
Blaz Kristan
d3be7a3edf
Merge branch '0_15' into psram-4-json
2023-12-28 23:38:27 +01:00
Blaz Kristan
6cd0da821a
Reduce heap fragmentation when switching ledmaps
2023-12-28 23:32:47 +01:00
Blaz Kristan
6332ee6edb
Effect buffer optimisations
...
setMode() fix for selecting gap
UI error messages
2023-12-27 19:36:25 +01:00
Blaz Kristan
cf3f6ede72
Suspend strip during operations
2023-12-22 15:39:07 +01:00
ezcGman
b76a90304d
Merge branch '0_15' of https://github.com/Aircoookie/WLED into ledmaps-realtime
2023-12-22 13:19:44 +01:00
Blaz Kristan
1f81fb9284
Implement JSON buffer in PSRAM to free up DRAM.
2023-12-21 21:30:17 +01:00
Blaz Kristan
3d6fe0a565
Reduce memory fragmentation
2023-12-16 12:38:15 +01:00
Blaz Kristan
7275a34e1f
Partial fix for #3578
2023-12-09 22:39:26 +01:00
ezcGman
d00df785a5
Merge branch '0_15' of https://github.com/Aircoookie/WLED into ledmaps-realtime
2023-12-06 21:41:34 +01:00
Blaz Kristan
c0412d368e
SEGLEN bugfix if default map1D2D not defined
...
- comments
2023-12-02 00:48:49 +01:00
ezcGman
2e5a485804
Realtime LED Maps: Feedback applied
2023-11-29 20:12:31 +01:00
ezcGman
9dc459192e
Merge branch '0_15' of https://github.com/Aircoookie/WLED into ledmaps-realtime
2023-11-28 11:49:53 +01:00
ezcGman
a36c731d15
En-/disable LED maps when receiving realtime data
2023-11-23 17:13:13 +01:00
Blaz Kristan
8f7f9ec367
Feature: Per-port ABL
2023-11-15 19:37:07 +01:00
Blaz Kristan
1852c0a88c
Merge branch '0_15' into spookierEyes
2023-11-12 12:49:02 +01:00
TripleWhy
2c1fbe103b
Spookier version of Halloween Eyes
2023-11-02 18:12:18 +01:00
Blaz Kristan
9c6dda9bd2
Segment copy bugfix
...
Audio palette modification
2023-10-29 11:27:17 +01:00
Blaz Kristan
db881ee011
Small optimisations.
...
2D liveView (non-WS) core
soundSim fix
2023-10-25 20:27:01 +02:00
Blaz Kristan
f329a5950e
Speed optimisations.
2023-10-15 13:06:40 +02:00