Home▸Networks & Graph Theory▸Macro Photography Depth of Field: 2D Ray Diagram

📷 Macro Photography Depth of Field: 2D Ray Diagram

Interactive 2D thin-lens diagram of macro photography: drag a chain of beads or the lens to refocus and see the depth-of-field slab, per-bead blur discs, diffraction limit and sensor image update live from the exact hyperfocal formulas.

Networks & Graph Theory2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-photography-macro-photography-simulation ↗ Open standalone
⚙ Under the hood

Interactive 2D thin-lens diagram of macro photography: drag a chain of beads or the lens to refocus and see the depth-of-field slab, per-bead blur discs, diffraction limit and sensor image update live from the exact hyperfocal formulas.

macro photographydepth of fieldthin lensdiffractioncircle of confusionoptics

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)