I WAS READING an interesting take on responsive design shared by Ade Oshineye and ended up thinking about how the Ambient Light Sensor API might enhance my time on Kindle.
This takes responsive web design to the device level, using the light sensor of a device to tell developers more about the current environment. My little Kindle doesn't have a light sensor, so I wouldn't expect a result but my newest phones have camera technology sensors built in that make the phone's flashlight function work better than the crude sensitivity levels of earlier models. In a more sophisticated world, one conceptualised by Tim Wright, the Ambient Light Sensor API would capture light level through an event called ondevicelight
.
This API would return values in lux units (lx
), giving an international measurement of light intensity and then perhaps causing better device-level support for text background colour or device illumination. This would be responsive web design for enhanced e-reading. Armed with light sensor information, developers could adjust color values, typefonts and screen flicker to optimise the on-screen reading experience.
Tim Wright -- "Environmental Design with the Device API" on A List Apart, February 12, 2013.
Bernie Goldbach teaches emerging technologies in the Limerick Institute of Technology.