A friend of mine is making a 3x3 ledcube (see video) and asked me to write a little routine to do a snake in a 3x3x3 matrix.
I came up with a quick 'n dirty random snake routine, which is kinda like the routine I used for my 3d cube demo
To see what it looks like, I've also thrown together a little 3x3 led emulator :)
3x3 ledcube snake
And you can check out the source if you want (nothing fancy) here