7219 Max, 296 LEDs, Linear display

Hello Arduino Forum,

Finally got the project to work.

296 LEDs using Arduino Uno and Maxim 7219

This shows about 50 LEDs of the full display.

The code currently turns on the LEDs by addressing each
one directly:

void loop() {

lc.setLed(0,0,0,true); //first octect
delay(delaytime2);
lc.setLed(0,0,1,true);
delay(delaytime2);
lc.setLed(0,0,2,true);
delay(delaytime2); …...

on thru 296.

Would like to use a FOR loop
like that in sketch copied herewith below.

But sketch copied below turns on LEDs
in non-linear pattern. Kinda cool but
not the animated GIF shown above.

Video of how sketch below displays:
www.allenpitts.com/electronics/Matt_22_37/IMG_2933.MOV

Any idea how to use For to get a linear output?

Thanks.

Allen in Dallas

//Sketch runs ~160 LEDs in unusual pattern
//191111 11am

#include "LedControl.h"

LedControl lc=LedControl(12,11,10,5);

unsigned long delaytime=500;
unsigned long delaytime2=20;

void setup() {

lc.shutdown(0,false);
lc.shutdown(1,false); //second board
lc.shutdown(2,false); //third board
lc.shutdown(3,false); //fourth board
lc.shutdown(4,false);//fifth board

/* Set the brightness to a medium values */
lc.setIntensity(0,6);
lc.setIntensity(1,6);
lc.setIntensity(2,6);
lc.setIntensity(3,6);
lc.setIntensity(4,6);

/* and clear the display */
lc.clearDisplay(0);
lc.clearDisplay(1);
lc.clearDisplay(2);
lc.clearDisplay(3);
lc.clearDisplay(4);
}

void loop()
{
for (int row=0; row<8; row++)
{
for (int col=0; col<8; col++)
{
lc.setLed(0,col,row,true); // turns on LED at col, row
lc.setLed(1,col,row,true); // turns on LED at col, row
delay(delaytime2);
}
}

for (int row=0; row<8; row++)
{
for (int col=0; col<8; col++)
{
lc.setLed(0,col,row,false); // turns off LED at col, row
lc.setLed(1,col,row,false); // turns on LED at col, row
delay(delaytime2);
}
}
}