There are various display emulators available for running code against, for debugging and screen capture functionality:
luma.emulator.device.capturedevice will persist a numbered PNG file to disk every time its
displaymethod is called.
luma.emulator.device.gifanimdevice will record every image when its
displaymethod is called, and on program exit (or Ctrl-C), will assemble the images into an animated GIF.
luma.emulator.device.pygamedevice uses the pygame library to render the displayed image to a pygame display surface.
luma.emulator.device.asciiartdevice renders the displayed image to a terminal using ANSI color codes and varying ASCII characters to represent pixel density.
Check out the examples on how to use the luma.emulator devices.