I don't know what a painting is; who knows what sets off even the desire to paint? It might be things, thoughts, a memory, sensations, which have nothing to do directly with painting itself. They can come from anything and anywhere.