Answer
Virtual reality was anticipated by Stanisław Lem in his 1964 novel Summa Technologiae. The novel explores the concept of a "phantomatics" machine that can create realistic simulations of any environment or experience. Lem's vision of virtual reality was remarkably prescient, as it accurately predicted many of the features and capabilities of modern VR technology.