Making the physical world digital