Backgrounds can be created dynamically and scrolled to create the illusion of never-ending movement. This is a useful technique for creating backdrops and the sense of movement in relation to user input.
This sample demonstrates a looping background tile whose animation is controlled by two slider controls. Adjust the slider handles to see the changes in the background animation.
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License. Permissions beyond the scope of this license, pertaining to the examples of code included within this work are available at Adobe.