Any attempts at getting the code to recalculate the offset_dist etc by using while loops results in a rather odd flickering etc but still doesn't do what is needed.

Anybody who can help?

cartoon_baboon