Shaded relief computed from the elevation grid
Elevation and hillshade along the middle row

Digital Elevation Model Hillshade: Horn Slope, Aspect and Sun Angle (2D)

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.

Made with 🟠 Blender