Animating LED Cube

Hi guys, so some last minute programming help required here.
I have trouble understanding the original program. However, I managed to use hexadecimal arrays to program static objects.

However, I'm interested in making them animated, like [referring to code] changing from size6 array to size7>size8>size7 with delays in between under a given condition (previousEffect==Yellow_Dwarf). I've tried using if...else statement and delay(); function, however none works. I do hope someone can assist me in this project. Advanced thanks :slight_smile:

I forgot to mention, my project's schematic follows VectStudio's schematic, linked here: LED_CUBE/CUBE-SCHEMATIC.pdf at master · itsharryle/LED_CUBE · GitHub

example.ino (11.7 KB)

trial.ino (9.74 KB)

So, what is the code you posted? Yours? Someone else's? Working? Not working?

sorry for the confusion.
example.ino is from the original poster, while trial.ino is mine.
both are working, however i'm interested in implementing animation in my code. if...else and delay does not work for some reason, i hope the community can help. Thanks

I would recommending posting your attempt at animating the cubes and then we can help you better.

As an aside when I made a 4x4 cube using some on line code there was a link to another on line program that generated the code for various patterns , which you then copied in .
There is masses on line about cubes , might be worth a google ?