Flash applets on some technical aspects of photography

Marc Levoy, Andrew Adams, Katie Dektar, and Nora Willett

Based on Stanford CS 178 (Digital Photography)


[Note:  Since Adobe Flash has been disabled in most browsers, the interactive illustrations in these applets no longer work.

 As a workaround, each applet page includes a screenshot showing the interactive illustration in frozen form.

 More usefully, you can download the applet's .swf file and Adobe's standalone Flash player to your desktop, and play it there.

This player used to be downloadable from adobe.com, but they have retired it.  Fortunately, I retained a copy, which is here:

        https://drive.google.com/file/d/1ykFX8aKCBCIWPd0m75KajDH-2UVXwujU/view?usp=sharing
Download and unzip this archive, creating Flash Player.app, then drag and drop any of the .swf files onto the app.

This app works on MacOS through at least Ventura, and is safe, even though Flash in your browser has proven unsafe.]


Variables that affect exposure

Explores the tradeoffs between aperture, exposure time and ISO.



Uses Gauss's ray tracing construction to show how thin lenses perform a 3D perspective transformation of object space into image space.



gaussian applet screenshot

The relationship between object distance, image distance, and focal length, and the distinction between focusing and zooming.



depth of field applet screenshot

How do focal length, subject distance, F-number, and size of the circle of confusion affect depth of field?



zoom applet screenshot

The operation of zoom lenses, telephoto zoom lenses, and optically-compensated telephoto zoom lens.



convolution applet screenshot

Interactively demonstrates 1D continuous convolution and 2D discrete convolution. Don't miss the "custom" buttons!



autofocus: PD applet screenshot

Explore how some cameras (mostly SLRs) use phase detection to autofocus a picture.



autofocus: CD applet screenshot

Explore how other cameras (mostly point-and-shoots) use contrast detection to autofocus an image.



locus applet screenshot

Explores the trichromatic theory of color vision and considers its implications for human perception, color photography, and computer display of color images.



color matching applet screenshot

Reenact Maxwell's color matching experiment to see how closely you can match the trichromatic matching functions for the given primaries.



chromaticity diagrams applet screenshot

Explores chromaticity diagrams and the meaning of the 2D gamut of perceivable colors.



gamut mapping applet screenshot

Interactively shows the results of gamut mapping (both the primaries and the rendering intents) on the colors displayed in an image.



color mixing applet screenshot

Explores additive and subtractive color mixing.



gamma applet screenshot

Unwrapping some of the tangled world of gamma correction.



projection applet screenshot

Demonstrates how images are projected from a plane to a cylinder to form a panorama.