I recently made an 8x8x8 LED cube that is powered by an arduino. This is the code that runs it.