Find the points in a line (Math)

Oooo… i’m trouble to find a points in a line Actually i want to make some footsteps in a sand. The footsteps are dhynamically placed on the stage. How to find the points in a dioganal. see the image

[url=“http://upload.wikimedia.org/wikipedia/en/2/21/Footsteps.gif”]