Reminds me a bit of a guy who created a functional virtual camera in Blender with lenses and film layers.
https://www.youtube.com/watch?v=YE9rEQAGpLw