This has happened to my eyes about 2-3 times a week or the past 6 or so years.
Usually a little after midnight, when I start to get tired.
Various opticians and doctors have told me not to worry about it. Its nothing.
Google tells me I probably have a brain tumour.