Learning the art of cartooning