I won't do any searching for you (you can find your own references), but here is how the eye happened:
1) some species developed cells on their skin that were sensitive to light. All they could feel was whether they were in a light or a dark area. There are examples of species living today that have patches of skin sensitive to light. Likely this allows them to hide, and tell if they have hidden themselves well enough.
2) The light sensitive patches progressed to be inside of a small dimple. Species with dimples containing those sensitive cells can survive better than those without, since they can not only feel the light, they can somewhat tell where it's coming from, based on which side of the dimple is lit up
3) The dimples progressively get deeper and deeper, thus giving more precision for feeling where the light comes from
4) Eventually the dimple would form into the best method for telling EXACTLY where the light is coming from, which is a hollow sphere with a pinhole towards the outside. This would mean the direction of the light would leave a precise spot on the inside of that sphere.
5) Next step would be some cells becoming sensitive enough to distinguish shades of that light. Cells being able to differentiate between bright light, dim light, and no light, is being able to "see" in black and white
6) Eventually the pinhole got covered by a membrane that would protect the primitive eye from getting junk inside
7) From there, you have your basic primitive eyeball, with the only improvements needed being the different types of light-sensitive cells that can detect different colors, and the membrane being able to focus the light a bit better to give better resolution images to those cells.
There you go. Your eyeball isn't magic.
COOL STORY BRO,
but I didn't ask you to imagine what took place as the eye developed. I asked for references. To science.
You don't list any because, as I said earlier, science relies on observation therefore you'll have a tough time finding data on that.
Also, your "explanation" completely ignored the processing of optical sensations in the brain, and how the two systems managed to find each other. But of course, you can just make something up and pass that off as science.
Furthermore I never said that any existing system is magic, I said evolution requires magic in order to work because it can't rely on any intelligent thought process that is required in order to produce working systems of ANY nature (biological or mechanical).