FastLED 3.9.15
Loading...
Searching...
No Matches
FestivalStick.ino File Reference
#include "fl/assert.h"
#include "fl/screenmap.h"
#include "fl/warn.h"
#include "noise.h"
#include <FastLED.h>
+ Include dependency graph for FestivalStick.ino:

Go to the source code of this file.

Classes

struct  corkscrew_args
 

Macros

#define NUM_LEDS   288
 
#define PIN_CLOCK   7
 
#define PIN_DATA   9
 

Functions

CLEDControlleraddController ()
 
UIDescription festivalStickDescription ("Take a wooden walking stick, wrap dense LEDs around it like a corkscrew. Super simple but very awesome looking." "This assumes the dense 144 LEDs / meter.")
 
void loop ()
 
fl::vector< vec3fmakeCorkScrew (corkscrew_args args=corkscrew_args())
 
fl::ScreenMap makeScreenMap (corkscrew_args args=corkscrew_args())
 
void setup ()
 
void showGenerative ()
 

Variables

corkscrew_args args = corkscrew_args()
 
UITitle festivalStickTitle ("Festival Stick")
 
CRGB leds [NUM_LEDS]
 
UISlider ledsScale ("Leds scale", 0.1f, 0.1f, 1.0f, 0.01f)
 
fl::vector< vec3fmapCorkScrew = makeCorkScrew(args)
 
fl::ScreenMap screenMap
 

Class Documentation

◆ corkscrew_args

struct corkscrew_args
Class Members
float leds_per_turn = 15.5
int num_leds = NUM_LEDS
float width_cm = 1.0