Back to JS main page

BY:Michael C Gillett...Homepage
DATE:1996-08-06
UPDATED:1996-10-12


Depth-of-Field Calculator - NS 2.0 MSIE 3.0 or later Required

To find the near, far and hyperfocal distance for a specific lens, enter the focal length (mm), aperature (f/number) and the object distance. The JavaScript program will calculate the near, far and hyperfocal distances. The unit of measure for distances is feet. This can be overridden by selecting meters. Your MSIE browser will print these tables, others must print screen to the clipboard and then print from some other application.

Depth-of-Field - Unit of Measure is meters.
Film
Format
Focal
Length
(mm)
f/No Object
Distance
Near
Distance
Far
Distance
Hyperfocal
Distance
We Got
Buttons

Depth-of-Field Table for the above Focal Length
f/5.6 f/8 f/11 f/16 f/22 f/32 f/48
"Inf"
You may use this code freely for any non-commercial purpose, written authorization for all commercial uses.
If you want this script just choose "Save Frame As..." (in Netscape) when you have the focus on the frame.

URL: http://www.oocities.org/SiliconValley/7116/jv_dofc.html