Janos MagyarEva Konya
Published © GPL3+

Colors of Photons

This painting change in each moment as new.

IntermediateShowcase (no instructions)24 hours9,872
Colors of Photons

Things used in this project

Hardware components

Adafruit NeoPixel Digital RGB LED Strip 144 LED
acrylic glass/ 1 cm thick
Adafruit Hook-up Wire Spool Set
Adafruit Perma-Proto Half-sized Breadboard PCB - Single
Adafruit Rugged Metal On/Off Switch with Green LED Ring
Capacitor 1000 µF
Capacitor 1000 µF
Resistor 475 ohm
Resistor 475 ohm
wood frame
Adafruit 5V 10A switching power supply
Anker 15600mAh Power Bank
Adafruit Pro Trinket - 5V 16MHz
Particle Photon
Adafruit Lithium Ion Polymer Battery - 3.7v 2500mAh
Adafruit USB LiIon/LiPoly charger - v1.2
Android device
Android device
Arduino UNO
Arduino UNO
photo foam board

Software apps and online services

Spark Pixels
Thank You very much for this great works!

Hand tools and fabrication machines

Soldering iron (generic)
Soldering iron (generic)
Adafruit Multi-size wire stripper & cutter
Adafruit solder wire


Read more


Colors of photons circuit



Fast LED

Just simple upload, and try to change, play with it :) This for Adafruit Pro Trinket or any Arduino thing with Arduino Ide or Codebender.cc
#include <FastLED.h>

#define LED_PIN      9
// Information about the LED strip itself
#define NUM_LEDS    144
#define CHIPSET     WS2812

#define BRIGHTNESS  255

// FastLED v2.1 provides two color-management controls:
//   (1) color correction settings for each LED strip, and
//   (2) master control of the overall output 'color temperature' 
// THIS EXAMPLE demonstrates the second, "color temperature" control.
// It shows a simple rainbow animation first with one temperature profile,
// and a few seconds later, with a different temperature profile.
// The first pixel of the strip will show the color temperature.
// HELPFUL HINTS for "seeing" the effect in this demo:
// * Don't look directly at the LED pixels.  Shine the LEDs aganst
//   a white wall, table, or piece of paper, and look at the reflected light.
// * If you watch it for a bit, and then walk away, and then come back 
//   to it, you'll probably be able to "see" whether it's currently using
//   the 'redder' or the 'bluer' temperature profile, even not counting
//   the lowest 'indicator' pixel.
// FastLED provides these pre-conigured incandescent color profiles:
//     Candle, Tungsten40W, Tungsten100W, Halogen, CarbonArc,
//     HighNoonSun, DirectSunlight, OvercastSky, ClearBlueSky,
// FastLED provides these pre-configured gaseous-light color profiles:
//     WarmFluorescent, StandardFluorescent, CoolWhiteFluorescent,
//     FullSpectrumFluorescent, GrowLightFluorescent, BlackLightFluorescent,
//     MercuryVapor, SodiumVapor, MetalHalide, HighPressureSodium,
// FastLED also provides an "Uncorrected temperature" profile
//    UncorrectedTemperature;

#define TEMPERATURE_1 DirectSunlight
#define TEMPERATURE_2  DirectSunlight

//#define TEMPERATURE_1 OvercastSky  //ezek nagyon jok egyutt
//#define TEMPERATURE_2 MercuryVapor

// How many seconds to show each temperature before switching
#define DISPLAYTIME 3   
// How many seconds to show black between switches
#define BLACKTIME   0.0

void loop()
	// draw a generic, no-name rainbow
	static uint8_t starthue = 0;
	fill_rainbow(leds + 0, NUM_LEDS - 0, --starthue, 2);  //try to put lower and higher starthue 

														  // Choose which 'color temperature' profile to enable.
	uint8_t secs = (millis() / 1000) % (DISPLAYTIME * 2);
	if (secs < DISPLAYTIME) {
		FastLED.setTemperature(TEMPERATURE_1); // first temperature
											   //leds[0] = TEMPERATURE_1; // show indicator pixel
	else {
		FastLED.setTemperature(TEMPERATURE_2); // second temperature
											   //leds[0] = TEMPERATURE_2; // show indicator pixel

	//Black out the LEDs for a few secnds between color changes
	//to let the eyes and brains adjust
	if ((secs % DISPLAYTIME) < BLACKTIME) {
		memset8(leds, 0, NUM_LEDS * sizeof(CRGB));

	FastLED.delay(45);                //minel tobb a szam annal lassab 

void setup() {
	delay(3000); // power-up safety delay
				 // It's important to set the color correction for your LED strip here,
				 // so that colors can be more accurately rendered through the 'temperature' profiles
	FastLED.addLeds<CHIPSET, LED_PIN, COLOR_ORDER>(leds, NUM_LEDS).setCorrection(TypicalSMD5050);

This for the Particle Photon

Use with https://build.particle.io/build


Janos Magyar

Janos Magyar

1 project • 16 followers
Eva Konya

Eva Konya

1 project • 2 followers
With my artworks I would like make harmonious living space where people feel comfortable More about me evakonya.com


Add projectSign up / Login