Free Web Hosting | free host | Free Web Space | BlueHost Review

LENS - Optical Lab for Refractive and Reflective Lenses

I wrote this program to solve two problems.

The reason the lens needed restoring is that I had dismantled it to fit a InfraRed filter so that this lens (intended for Super8 film) could be used with a cheap digital camera. I had expected to find 2 lenses. Instead 3 concave and 2 convex lenses and 3 spaces fell out. How many combinations could there be. Well, a lot it seems. I thought if I could measure all the lens, use a standard refractive index for each, I could learn how to reconstruct the lens for minimum chromatic aberation. This program traces the light path for a red (long wave length) and violet (short wave length) beam.

Well I achieved my first objective anyway.

One day I may improve this program so prisms and lens in other planes can be examined.

The main body of Lens

Lens configeration file

Lens help file

Needed to read the help file when running Lens.

Example html calling file. It may actually work??

Well, I know it works as an application with java.exe and using appletviewer.exe