You can use /play or a timer.
The shadow is just a space after the colored part using the shadow color. And then a row just like the colored rows that is underneath and is using the shadow color. To get the effect of 3D, don't put the shadow color on the end of row 1 and put an uncolored space at the beginning of the shadow row.