Simplifying control of LED 2801 square pixel

What's the code look like?