       }
     }
   }
-}+}
+
+
+
+
+
+

// to the physical connection of your LED cube to your
// Arduino pins.

#include Math.h

const int layer[4] = {
  A0,A1,A2,A3};
const int column[16]={
  0,1,2,3,4,5,6,7,8,9,10,11,12,13,A4,A5};
const int DELAY = 5; //Delay between cube layer alternations, in milliseconds. 
int cube[4][4][4];

//Setup
void setup(){

  clearCube();
}


void loop(){
  patternKnightRider(5);
  patternThrowDice();
  fillCube();
  render(1000);
  clearCube();
