Parallax Scrolling - Example

Example

In the following animation, three layers are moving leftward at different speeds. Their speeds decrease from front to back and correspond to increases in relative distance from the viewer. The ground layer is moving 8 times faster than the vegetation layer. The vegetation layer is moving two times faster than the cloud layer.

  • Cloud Layer - Back

  • Vegetation Layer - Middle

  • Ground Layer - Front

  • Animation (click to play)

Read more about this topic:  Parallax Scrolling

Famous quotes containing the word example:

    Our intellect is not the most subtle, the most powerful, the most appropriate, instrument for revealing the truth. It is life that, little by little, example by example, permits us to see that what is most important to our heart, or to our mind, is learned not by reasoning but through other agencies. Then it is that the intellect, observing their superiority, abdicates its control to them upon reasoned grounds and agrees to become their collaborator and lackey.
    Marcel Proust (1871–1922)