phosphene

noun
  1. A flash of light or a visual sensation produced by mechanical stimulation of the retina or visual cortex, rather than by light entering the eye.
  2. Usage: medical/scientific term; often experienced when pressing on the eyeball or after a blow to the head

Examples