Class diagram for animation and surfaces