what happens to cause an afterimage
When your eyes are covered again, you should continue to see an image of the view through the window, which will fade away after just a few seconds. This is a positive afterimage, caused by a persistent signal from your visual system, which continues for a little while after the retina has been exposed to light.