Any ideas for truncating/simplifying this code for some 64×64 RGB LED displays?

Any ideas for truncating/simplifying this code for some 64×64 RGB LED displays?:

#arduino