How insomnia helps a painter