A FUNCTION OF TIME - how a digital camera works