the walk away from camera was done like this:
reference points for the heels created (in this case) from real word stills images - lock off the camera - photograph the virgin sand a few times over the next few mins. (Plus hope the dog / seagull / camel / ... doesn't trample the scene). Create the footprints by me walking away from camera until the practical "infinity" as far as converging tramlines are concerened (10 metres). jump outside the tramlines (not a long way to go!), walk back to camera out of frame as far as poss, then take another pic. (or 2 or 3 or .. over the next few mins to allow for subtle, but evident light changes.) Choose the best matched pair of "before and after" and finish the lighting / tidying tweaking in photoshop. Measure pace intervals to determine a "close enough" linear scale change from starting to ending position (yes I know theory says it ain't linear, but within the range I'm using linear is good enough!)
for the film - 4 (groups of) layers in AS (from the top): the walker; trodden sand; reveal mask; virgin sand. Expand the reveal mask (Step interpolation) along the trodden path sync'd to pace. try (and
nearly suceed!

) to keep the walker's heels locked to those ref points as necessary in the walk cycle whilst:
- linear interpolation to decrease the layer scale of character
- linear motion of the character layer along the line being walked
- bone length increases to compensate for scale reduction that would not occur to the trailing limb until ....
- the limb travels past the body (and thus needs to become visibly smaller) when I decrease bone length
- camera track and zoom are only to give me the framing that I want.
(I didn't use z motion for the character, nor image rotation around the x axis for the footprints because I used live images)
Walk towards cam is the same but to increase the character's visible size (yep - again could've used z but didn't!)
plenty of room for improvement, but that's what the process of learning and gaining experience is all about. ... principles AND practice.