.. _anim_07:

(7) Spinning Earth showing crustal ages
----------------------------------------

It is relatively simple to make a spinning Earth movie
by using the frame number as view longitude.  Here we
simulate sunlight to modulate the slopes of the global
relief and color the seafloor using the crustal age
grids from EarthByte.

.. literalinclude:: /_verbatim/anim_07.txt
   :language: bash

.. Need to include the following 0 px wide dummy image for video poster

.. only:: html

   .. image:: /_images/anim_07.png
      :width: 0 px

.. raw:: html

   <div class="figure align-center">
     <video width="720" height="480" poster="../_images/anim_07.png" controls>
       <source src="../_static/anim_07.mp4" type="video/mp4">
       Your browser does not support the video tag.
     </video>
     <p class="caption">Spinning Earth showing crustal ages.</p>
   </div>
