FastLED 3.9.15
Loading...
Searching...
No Matches
FxWave2d.ino
Go to the documentation of this file.
1
2
3// @filter: (memory is large)
4
5/*
6This demo is best viewed using the FastLED compiler.
7
8Windows/MacOS binaries: https://github.com/FastLED/FastLED/releases
9
10Python
11
12Install: pip install fastled
13Run: fastled <this sketch directory>
14This will compile and preview the sketch in the browser, and enable
15all the UI elements you see below.
16
17OVERVIEW:
18This sketch demonstrates a 2D wave simulation with multiple layers and blending effects.
19It creates ripple effects that propagate across the LED matrix, similar to water waves.
20The demo includes two wave layers (upper and lower) with different colors and properties,
21which are blended together to create complex visual effects.
22*/
23
24#include <Arduino.h> // Core Arduino functionality
25#include <FastLED.h> // Main FastLED library for controlling LEDs
26#include "wavefx.h"
27
28// Use the FastLED namespace for convenience
29
30
31void setup() {
32 Serial.begin(115200); // Initialize serial communication for debugging
34}
35
36void loop() {
37 // The main program loop that runs continuously
39}
void setup()
Definition FxWave2d.ino:31
void loop()
Definition FxWave2d.ino:36
#define Serial
Definition serial.h:304
void wavefx_loop()
Definition wavefx.h:35
void wavefx_setup()
Definition wavefx.h:34