#include "mapping.h"
#include "net.h"
#include "ripple.h"
#include <FastLED.h>
#include "detail.h"
#include "fl/screenmap.h"
#include "fl/math_macros.h"
#include "fl/json.h"
#include "fl/ui.h"
#include "fl/map.h"
#include "screenmap.json.h"
#include "fl/str.h"
Go to the source code of this file.
|
UIDescription | description ("Take 6 seconds to boot up. Chromancer is a wall-mounted hexagonal LED display that originally reacted to biometric data from an EmotiBit sensor. It visualizes your heartbeat, skin temperature, and movement in real-time. Chromancer also has a few built-in effects that can be triggered with the push of a button. Enjoy!") |
|
bool | isNodeOnBorder (byte node) |
|
void | loop () |
|
void | setup () |
|
|
UICheckbox | allWhite ("All White", false) |
|
byte | currentAutoPulseType = 255 |
|
float | gyroX |
|
float | gyroY |
|
float | gyroZ |
|
float | highestIrReading |
|
unsigned long | lastAutoPulseChange |
|
byte | lastAutoPulseNode = 255 |
|
unsigned long | lastHeartbeat |
|
float | lastIrReading |
|
float | lastKnownTemperature |
|
unsigned long | lastRandomPulse |
|
byte | ledColors [40][14][3] |
|
CRGB * | leds [] = {leds0, leds1, leds2, leds3} |
|
CRGB | leds0 [lengths[BlackStrip]] = {} |
|
CRGB | leds1 [lengths[GreenStrip]] = {} |
|
CRGB | leds2 [lengths[RedStrip]] = {} |
|
CRGB | leds3 [lengths[BlueStrip]] = {} |
|
constexpr int | lengths [] |
|
unsigned long | nextSimulatedEda |
|
unsigned long | nextSimulatedHeartbeat |
|
byte | numberOfAutoPulseTypes |
|
Ripple | ripples [numberOfRipples] |
|
UICheckbox | simulatedBiometricsEnabled ("Simulated Biometrics", true) |
|
UIButton | simulatedHeartbeat ("Simulated Heartbeat") |
|
UISlider | sliderDecay ("decay",.97f,.8, 1.0,.01) |
|
UICheckbox | starburstPulsesEnabled ("Starburst Pulses", true) |
|
UITitle | title ("Chromancer") |
|
UIButton | triggerBorderWave ("Border Wave") |
|
UIButton | triggerRainbowCube ("Rainbow Cube") |
|
UIButton | triggerSpiral ("Spiral Wave") |
|
UIButton | triggerStarburst ("Trigger Starburst") |
|
bool | wasBorderWaveClicked = false |
|
bool | wasHeartbeatClicked = false |
|
bool | wasRainbowCubeClicked = false |
|
bool | wasSpiralClicked = false |
|
bool | wasStarburstClicked = false |
|