Home▸Rendering & Computer Graphics▸Atmospheric Visibility in Fog: Droplet Extinction, Beer-Lambert Law and Koschmieder Range (2D)

Atmospheric Visibility in Fog: Droplet Extinction, Beer-Lambert Law and Koschmieder Range (2D)

A driver's-eye view of a road in fog, with posts, trees and an oncoming car fading by the Beer-Lambert law, plus a live transmittance curve. The same shared fog model as the 3D scene, with numerical checks.

Rendering & Computer Graphics2DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 3D version
Atmospheric Visibility in Fog: Droplet Extinction, Beer-Lambert Law and Koschmieder Range (2D) ↗ Open standalone

Drive down a foggy road and see how far you can see. Set the water content and droplet size of the fog, the depth of the fog layer, your eye height, the lamp strength and the time of day, then read the extinction coefficient, the Koschmieder visibility range and the Allard-law range of an oncoming car's lamps. A Blender-built road scene with true Beer-Lambert fog and numerical checks built in.

⚙ Under the hood

A driver's-eye view of a road in fog, with posts, trees and an oncoming car fading by the Beer-Lambert law, plus a live transmittance curve. The same shared fog model as the 3D scene, with numerical checks.

FogBeer-Lambert LawKoschmieder VisibilityLight ExtinctionAtmospheric Optics

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

What did you find?

Add reproduction steps (optional)