//https://www.boxentriq.com/code-breaking/pixel-values-extractor

#include "FastLED.h"

#define rows  5
#define cols  20

#define PIN 6
#define NUM_LED cols*rows
#define LED_Type WS2812
#define RGB_Type GRB
#define Brightness 255

CRGB leds1[NUM_LED];
//▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄

const int leds[cols * rows * 3] = {204 ,194 ,186 ,241 ,233 ,239 ,252 ,249 ,255 ,216 ,216 ,255 ,6 ,6 ,201 ,0 ,20 ,193 ,0 ,97 ,128 ,0 ,118 ,64 ,0 ,127 ,44 ,0 ,131 ,34 ,0 ,130 ,35 ,0 ,130 ,35 ,0 ,131 ,34 ,0 ,108 ,98 ,0 ,23 ,186 ,6 ,6 ,209 ,211 ,210 ,255 ,255 ,243 ,255 ,255 ,199 ,215 ,186 ,96 ,96 ,206 ,197 ,189 ,255 ,251 ,255 ,251 ,248 ,255 ,16 ,16 ,124 ,6 ,6 ,206 ,0 ,22 ,188 ,66 ,185 ,191 ,43 ,210 ,121 ,35 ,219 ,98 ,32 ,223 ,87 ,32 ,222 ,87 ,32 ,222 ,87 ,32 ,223 ,87 ,54 ,197 ,158 ,0 ,26 ,180 ,6 ,5 ,213 ,19 ,19 ,140 ,255 ,242 ,255 ,255 ,235 ,255 ,189 ,110 ,111 ,206 ,200 ,193 ,255 ,250 ,255 ,247 ,245 ,255 ,13 ,13 ,143 ,5 ,5 ,215 ,0 ,26 ,179 ,52 ,199 ,156 ,24 ,230 ,70 ,15 ,240 ,43 ,11 ,244 ,30 ,12 ,245 ,31 ,11 ,244 ,30 ,11 ,244 ,30 ,38 ,214 ,116 ,0 ,31 ,167 ,4 ,4 ,221 ,13 ,12 ,157 ,251 ,236 ,255 ,255 ,239 ,255 ,206 ,149 ,150 ,206 ,200 ,193 ,255 ,252 ,255 ,248 ,246 ,255 ,14 ,13 ,141 ,5 ,5 ,215 ,0 ,28 ,176 ,47 ,203 ,146 ,18 ,236 ,56 ,9 ,246 ,27 ,4 ,251 ,13 ,3 ,250 ,12 ,4 ,251 ,13 ,4 ,251 ,13 ,33 ,219 ,103 ,0 ,33 ,163 ,4 ,4 ,220 ,12 ,12 ,152 ,255 ,242 ,255 ,255 ,239 ,255 ,205 ,149 ,151 ,201 ,195 ,186 ,255 ,252 ,255 ,252 ,251 ,255 ,161 ,162 ,255 ,5 ,5 ,204 ,0 ,26 ,179 ,51 ,197 ,159 ,24 ,227 ,76 ,15 ,237 ,50 ,11 ,242 ,36 ,11 ,242 ,36 ,11 ,242 ,36 ,11 ,242 ,36 ,38 ,211 ,120 ,0 ,30 ,168 ,5 ,5 ,209 ,145 ,145 ,253 ,255 ,243 ,255 ,255 ,236 ,252 ,174 ,101 ,103};

int cou;
int X[3];
int Y = 0;


void setup()
{
  //Serial.begin(9600);
  FastLED.addLeds<LED_Type, PIN, RGB_Type>(leds1, NUM_LED).setCorrection( TypicalLEDStrip );
  FastLED.setBrightness(Brightness);
  //Serial.println(cols * rows * 3);

}

void loop()
{
  for (int i = 1; i <= rows; ++i)
  {
    for (int i = 1; i <= cols; i++ )
    {

      for (int i = 0; i <= 2; ++i)
      {
        X[i] = leds[Y];
        Y++;
      }

      leds1[cou] = CRGB(X[0], X[1], X[2]);
      cou++;
    }
  }
  FastLED.show();

  delay(10000);

}