Library methods for animating 2D textures in a 3D environment