Natural health: Floaters and Plantar fasciitis
What you have noticed appearing in your vision are shadows of cellular debris floating inside the eye, commonly known as floaters. When small clumps of cells float around within the fluid of the eye they cast a shadow on the retina, causing the appearance of a floating object, as you have noted.

