Task

Draw a sphere.

The sphere can be represented graphically, or in ASCII art, depending on the language capabilities.

Either static or rotational projection is acceptable for this task.



Related tasks

 draw a cuboid
 draw a rotating cube
 write language name in 3D ASCII
 draw a Deathstar


 
camera { location  <0.0 , .8 ,-3.0> look_at 0}
 
light_source{< 3,3,-3> color rgb 1}
 
sky_sphere { pigment{ gradient <0,1,0> color_map {[0 color rgb <.2,.1,0>][.5 color rgb 1]} scale 2}}
 
plane {y,-2 pigment { hexagon color rgb .7 color rgb .5 color rgb .6 }}
 
sphere { 0,1
  texture { 
    pigment{ color rgbft <.8,1,1,.4,.4> } 
    finish { phong 1 reflection {0.40 metallic 0.5} }
  } 
  interior { ior 1.5}
}  
 