magic cube viewer
order 5 magic cube
The red animation traces the 'magic line' created by joining all points in sequence from first to last (1 to 5x5x5 - or n^3 where 'n' is the cube's order).
To switch numbers on and off press the 'n' key - click once in in the applet window first. It may take a few seconds to show the numbers.
To rotate the pattern click and drag in the applet window (jerky on a slow machine).
If you press 's' a starfield is turned on or off.