You could actually get something like that with either a digital camera or a single lens reflex film camera. On the SLR film camera, the focal plane shutter will open all the way and then close for slow shutter speeds, but for fast shutter speeds, it will open a slit which will move from left to right (or vice versa) across the film. Anything that changes during that movement will be caught.
In the case of a digital camera, the CCD will not just come on instantly, but will be electronically scanned from top to bottom (or vice versa), and anything that changes during that will be caught.