Eye problems
Harvard Medical School: Floaters, flashes, and retinal tears don't generally have the headache nor respond to the quick use of aspirin (migraine can if you catch it quickly) and it does not sound like floaters or flashes but a consistent shape.
I'd make an appointment with my GP doctor and discuss it with them.