Figure antropomorfe


from vpython import *
sphere ( radius=10) # corpo
sphere ( pos=vector( 0, 14, 0.0), radius= 6) # testa
sphere (color=color.blue , pos=vector(-2, 16, 5.0), radius= 1) # occhio a sinistra
sphere (color=color.blue , pos=vector(+2, 16, 5.0), radius= 1) # occhio a destra
cylinder(color=color.orange, pos=vector( 0, 14, 5.0), radius= 1,
axis=vector(0, 0, 3) ) # naso
sphere (color=color.red , pos=vector( 0, +3, 9 ), radius= 1) # 1° bottone
sphere (color=color.red , pos=vector( 0, 0, 9.5), radius= 1) # 2° bottone
sphere (color=color.red , pos=vector( 0, -3, 9 ), radius= 1) # 3° bottone
box ( pos=vector( 0, -10, 0 ),
size=vector(40, 3, 40) ) # Neve sotto