//--------------------------
// example 9
// transformation
 

color(#552288)

translate(-7,0,0)
rotation(0,0,0)
scale(1,1,1)
sphere(3)

right(7)
rotation(45,0,0) 
scale(0.5, 1, 0.5)
sphere(3)
 
right(7)
rotation(0,0,90)  
scale(0.2, 1 , 1)
sphere(3)