2001: A Space Odyssey (1968)
To make it seem like the pen was floating, Stanley Kubrick instructed the crew to glue it to a large sheet of glass, which was then rotated around to give the impression of free-floating.