Introduction
There are various display emulators available for running code against, for debugging and screen capture functionality:
The
luma.emulator.device.capturedevice will persist a numbered PNG file to disk every time itsdisplaymethod is called.The
luma.emulator.device.gifanimdevice will record every image when itsdisplaymethod is called, and on program exit (or Ctrl-C), will assemble the images into an animated GIF.The
luma.emulator.device.pygamedevice uses the pygame library to render the displayed image to a pygame display surface.
Check out the examples on how to use the luma.emulator devices.