Screen dimming according to the barrier in front of the screen for CSIT6910 HKUST.