This is cool, I built something similar a while back. I originally wanted the screen to dim when I slouched but I couldn't get access to dimming on OSX. I ended up just playing a noise when I slouched. It became so distracting I stopped using it.
The blurring of the screen is a much better idea.