Is there a filter which creates a "scrolling" animation of an image, e.g. shifts the image to the right by so many pixels and wraps pixels that go off the right edge back to the left. I would like the filter to repeat this so that in the end there is a nice scrolling effect when played back via Filter/Animation.
link in xenoid's answer does not wrap. However, I just recently wrote (I meant like 5 minutes ago) one that wraps layer and scrolls only the active/selected layer. https://gimplearn.net/viewtopic.php?desc=Scrolling-and-Wraps-layer-animation-Script-for-GIMP&f=3&t=414
At worst use a transparent layer for the layers you don't need. But the author is likely willing to write a single-layer version.
There is a filter to do the offset once (scroll and and put pixels exiting on the other side) - but no ready made filter to animate that.
To create the animation you'dhave to write a small script that will:
call "offset" on a layer, copy the result, paste as new layer (on the same or on a new image, containing only the animation).
In my answers here and on stackoverflow regarding GIMP there are some examples and instructions on how to that programaticaly.