Predict upcoming coordinates
An RNN might work for this :


Lines have a "sequence of points"
Network should "learn" that points tend to shift towards left (as Y increases) and should be able to apply similar shift for prediction of X for a given Y 


An example : Prediction of points for a Sin Wave