News for hackers. Stuff that matters.
Re:A first-person engine in 265 lines of JS by yanatan16 on Tuesday June 03, 2014 @05:41PM (#7842907)
Its gotta be the shape of our eye, for the same reason the effect works in a mechanical DSLR camera, where light is only refracted through the lens.
Re:A first-person engine in 265 lines of JS by munificent on Tuesday June 03, 2014 @06:04PM (#7843008)
> for the same reason the effect works in a mechanical DSLR camera

The sensor on the back of a camera is a flat plane, which is why (with most lenses) you get an image where straight lines appear straight. The sensor on the back of your eye (the retina) is curved.

Re:A first-person engine in 265 lines of JS by TheZenPsycho on Wednesday June 04, 2014 @01:22AM (#7844151)
straight lines are straight in a photograph because of precision manufactured optics shaped specifically to achieve that effect, to reduce "chromatic aberrations" and "barrel distortion".