Here I have an animated green cube, inside an animated blue cube inside of an animated pink cube. This is a Triple Nested Animation. My apologies in advance, because some of the tutorial repetition makes doing this tutorial a bit lengthy. I can get the entire thing done in under an hour. Your time may vary!

EDIT: I modified the tutorial with minor rewording and pictures, to hopefully make the tutorial easier to follow.

I will work on a script to animate the process. My script writing skills have been dormant, so it will take a while.

PhotoMaster: I worked long and hard on this tut but I still have some glitches. I don't know where as I could not find them. I will attempt this again, but not for a few days. I may have some questions for you before I start. Anyway, here is what I was able to do.

Does anyone know why I get these error messages ? I'm running GIMP 2.8.20 with Windows.I decided to try out the tutorial but only got as far as step 3 (well, 4 really)..I run the Rubik's Cube script, set "Frames for Animation" to 36 and... it does the following (see pic.) .. basically just repeats the layer and stops, I've tried it with a flat colour surface too, get the same errors.. Thanks for help.

On frame #23*, (#14 from bottom) an extra shadow layer got merged on top of the cube. I've done that quite a few times myself. If you still have a copy of the 2nd (Red) animation, just re-run the Rubiks script on layer #23*, (#14 from bottom) , add the shadow and background to it and use that single image to replace the layer with the shadow error.

On frame #17* (#20 from the bottom) it looks like you pulled frame #21* (#16 from bottom) from the intermediate animation created in steps 27 and 28. Just re-run the Rubiks script on layer #17*, (#20 from bottom) , add the shadow and background to it and use that single image to replace the mismatched layer .

By pulling those two layers, the animation works fine. It will be smoother if you replace the 2 layers I deleted.

Your cube is excellent!

* Because the animations run from the bottom to the top, when I loaded your gif the layer numbers were different.