# include "colors.inc"   
# include "stars.inc"
sphere { <0,0,0>, 1  
         texture { // pigment{ Black} 
                   Starfield1 scale 1//  1, 2, ... , 6
                 } // end of texture
         scale 20      
         
       }
         

camera {
        location < 0, -8, -8  >
        look_at < 0, 0, 0 >
       }                           
       
light_source { < 0, -6, -6 > color White }



    sphere { <0, 0, 0> , 1       
    
     texture {
            pigment { color Orange }  
           
            normal{bumps 0.9 scale 0.03}
            finish{ phong 1
              
            }
          }         
          rotate <0, clock*360, 0>    
        
    }  
    
    sphere { <0, 4, 0> , 1
       texture {
            pigment { color Green }  
           
            normal{bumps 0.9 scale 0.03}
            finish{ phong 1
              
            }
          }         
      scale 0.5  
      translate <-4*cos(360*clock*pi/180.0), -2-4*cos(360*(1-clock*pi/180.0)), 0>   
    }    
    
    sphere { <0, 2, 0> , 1
       texture {
            pigment { color Red }  
           
            normal{bumps 0.9 scale 0.03}
            finish{ phong 1
              
            }
          }         
      scale 0.2  
      translate <-2*cos(360*clock*pi/180.0), -2-2*cos(360*(1-clock*pi/180.0)), 0>   
    }
    
      
                