FastLED 3.9.15
Loading...
Searching...
No Matches
Luminova.h File Reference
#include <FastLED.h>
+ Include dependency graph for Luminova.h:

Go to the source code of this file.

Classes

struct  P
 

Namespaces

namespace  fl
 IMPORTANT!
 

Macros

#define BRIGHTNESS   96
 
#define COLOR_ORDER   GRB
 
#define DATA_PIN   3
 
#define HEIGHT   32
 
#define LED_TYPE   WS2812B
 
#define NUM_LEDS   (WIDTH * HEIGHT)
 
#define WIDTH   32
 

Functions

void loop ()
 
void plotDot (int x, int y, uint8_t v)
 
void plotSoftDot (float fx, float fy, float s)
 
void resetParticle (P &p, uint32_t tt)
 
void setup ()
 
fl::u16 fl::XY (fl::u16 x, fl::u16 y)
 
u16 xy_map_function (u16 x, u16 y, u16 width, u16 height)
 

Variables

const bool kMatrixSerpentineLayout = true
 
const uint8_t kPointGain = 128
 
CRGB leds [NUM_LEDS]
 
static const int MAXP = 256
 
P ps [MAXP]
 
static uint32_t t = 0
 
fl::XYMap xymap = fl::XYMap::constructWithUserFunction(WIDTH, HEIGHT, xy_map_function)
 

Class Documentation

◆ P

struct P
Class Members
float a
bool alive
int f
int g
float s
float x
float y