Thanks to both of you for the reply.
If blinking made it go away, it would only be a superficial mucus having pooled in your eye then moved away when you blinked. Anything which causes mucus in the eye could cause this. One cause is working in an area with particulate material in the air....as around new construction, a dusty room, placing powder on the face without closing the eyes, etc. Artificial tears at night before bed and even during the day may help.
Chances are these symptoms are related to migraine. Sometimes, circulatory problems can cause these symptoms--decreased carotid flow, heart irregularities, anemia, etc. The blobs are brought on by sudden change in position and thereby change in blood flow. I would check it out with your regular medical doctor.