I need script that can display the content of the computer screen in grayscale, dithered using Floyd–Steinberg - in real time, on Windows 10. Need it to show white and black (so 1 bit), but would be nice to be able to assign a shortcut to increase the number of grayscale tones to a maximum of 16. I realise this will induce some lag, since every frame displayed needs to be filtered using the algorithm. I can also use the screen at 1280x1024 or 800x600 if it will make it less laggy, but would be nice to have the flexibility of using any resolution up to the standard 1920x1080.
If you're curious as to why I would need such a thing, here's the story. I have a Dasung Paperlike monitor, second iteration. It's the only e-ink monitor in the world at the moment. Connects through USB. Has buttons on the panel to switch between 2, 4 and 16 shades of gray. At 2 and 4 shades, it refreshes at a decent speed. The problem is that the way it transitions between the limited shades of gray is in a posterized fashion, where each gradation cuts off abruptly. If I could use it with Floyd-Steinberg dithering, even at 2 levels of gray, I could be able to see a lot more information.