1 | initial version |
For each step of the (discretized) revolution process you have to define a picture, and you will glue the pictures into an animation with the animate
function. Since each picture corresponds to a range of longitudes, the easiest way to do this should be to use a representation of the sphere by it spherical coordinates, so, you can use the following: