Why Depp used cartoons to inspire Jack Sparrow.