When you close your eyes, what is it that you see drift across the blackness?

Afterimage. You are describing an afterimage. This is caused by the biochemical change in the retinal cells when the amount of light changes suddenly.