Scientists have been watching paint dry in experiments they say could improve the performance of everyday items, from sun screen to mobile phones.