top of page

A colorful dream

Have you ever dreamed in color? I don't think I ever have... until last night. I fell asleep while trying to piece these fragments back together (I actually fell asleep ON the fragments - can you believe that??), and all I remember is a spectacular aura of color.


I swear this has to do with the shapes, but I'm not sure how yet. Seeing the circular outline made me think of potentiometers, so I did a quick setup with my Arduino and some lights to experiment with changing colors and see if it triggers any other memories from the dream....


Video and code below.





#include <FastLED.h>
#define NUM_LEDS 10
#define DATA_PIN 31

CRGB leds[NUM_LEDS];

void setup() { 
  delay( 3000 );
  FastLED.addLeds<WS2811, DATA_PIN, RGB>(leds, NUM_LEDS);
  FastLED.setBrightness( 10 ); // I don't want to draw too much power
  Serial.begin(9600);
  
void loop() { 
  int cVal = analogRead(A2);
  delay(1);

  Serial.println(cVal);

  //mapping option? I remember there was something about maps in my dream...
  int cmappedVal = map(cVal, 0, 500, 255, 100); 



Recent Posts

See All

Follow the lights

Recreating a strange portion of the box - lights that turn off and on. It reminds me of the "lights out" puzzle, where pressing a button...

コメント


bottom of page