lit slopeslope facing awaylow groundhigh ground
Couldn't start the 3D scene.

Digital Elevation Model Hillshade: Horn Slope and Aspect under Sun Azimuth and Altitude

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 · Three.js