Cartoon learning machine