I decided that it was too hard to write animations for my LED Cube. So I wrote a Processing program to generate the code for it. All you have to do is load the program and click on the green LEDs(circles) to turn them on and when you are done with a frame of animation you click the orange button at the bottom then the code will be printed out to the console. Then you copy the code into the firmware and upload the program to the Arduino. Here is the program.