LOD Terrain is an example of how to render a terrain with a variable level of detail (LOD), based on the distance from the camera. The approach taken is based on CD-LOD.
Currently the detail distribution isn't as per the paper, namely it assumes the most detailed region is the point above which the camera currently resides, rather than taking into account the height of the terrain.
Just host this directory with a webserver of your choice. You can also use the
webserver.sh script included (provided you have Python) to set up a simple development server.
This project is based on amd-three.js. Please see there for details of project structure.