Phantasmagoria

A phantasmagoria is a ghost-making machine used for popular entertainment from the late 18th century through the 19th century. The device, developed by Belgian optician E. G. Robertson in the 1790s, projected convincing figures before an audience.

Source:

The Encyclopedia of Ghosts and Spirits – Written by Rosemary Ellen Guiley  – September 1, 2007