Home▸Meteorology & Weather Patterns▸Snow Line Elevation: Freezing Level & Rain/Snow Phase Transition (2D)

Snow Line Elevation: Freezing Level & Rain/Snow Phase Transition (2D)

2D snow-line lab: an environmental lapse rate and a wet-bulb-depression estimate from relative humidity locate the freezing level and the real snow line on a mountain slope, and falling precipitation switches from snow to rain the instant it crosses that line.

Meteorology & Weather Patterns2DModerate60 FPS⇄ 3D version
2d-three-dimensional-snowfall-simulation ↗ Open standalone

This 2D companion turns the same falling-snow scene the 3D version renders decoratively into a real atmospheric-science instrument: a side panel exposes sea-level temperature, environmental lapse rate and relative humidity, which together locate the freezing level and — via a wet-bulb-depression estimate — the true snow line below it, drawn as horizontal bands across a mountain slope. Each falling particle checks its own altitude against that line every frame and switches from a slow, swaying snowflake to a fast, straight raindrop the instant it crosses, building a real snowpack only on the terrain above the line while everything below runs off, so raising the humidity, warming the air, or shrinking the mountain visibly eats into the snow cover instead of just changing a color.

⚙ Under the hood

A real 2D companion to the 3D Snowfall Simulation: sea-level temperature, an environmental lapse rate and relative humidity drive a genuine atmospheric-science model — the freezing level from the lapse-rate equation, and the true snow line below it from a wet-bulb-depression estimate keyed to humidity. Falling particles check their own altitude against the snow line every frame, switching from a slow, swaying snowflake to a fast, straight raindrop the instant they cross it, and only particles that land above the line build a real snowpack on a mountain slope whose peak elevation is also adjustable.

snow linefreezing levellapse ratewet bulb depressionprecipitation phasesnowpack accumulationatmospheric science

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

What did you find?

Add reproduction steps (optional)