The preschoolers were fascinated, looking at their classroom through the lens of an iPad camera, watching animated images pop up as a cheerful voice told them: Feed apples to a pig behind a haystack.