Digital Elevation Model Hillshade: Horn Slope, Aspect and Sun Angle (2D)
A shaded-relief map computed live from a synthetic elevation grid with Horn slope and aspect, plus a terrain profile and illumination graphs. The same shared hillshade model as the 3D relief model, with built-in numerical checks.
Turn a grid of elevations into a shaded relief map. Horn's 3 by 3 finite-difference method gives slope and aspect for every cell, and the hillshade is the cosine between the surface normal and the sun. Move the sun azimuth and altitude, exaggerate the vertical scale, change the grid spacing and relief, and read slope, aspect and shadow statistics. A Blender-built plinth, compass and sun with numerical checks of the gradient formulas.
A shaded-relief map computed live from a synthetic elevation grid with Horn slope and aspect, plus a terrain profile and illumination graphs. The same shared hillshade model as the 3D relief model, with built-in numerical checks.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install