William Davies has created a actually interesting demo map that uses turf.js to map viewsheds. He was inspired to practice the map subsequently seeing Esri's Campus Blue Lights map, which uses viewsheds to present where the beacons on emergency telephones tin last seen on a academy campus.
William's Viewshed map uses turf.js to present where lines of sight intersect amongst edifice polygons on a Mapbox map. The map animates a twain of sunglasses some the Egyptian pyramids. Influenza A virus subtype H5N1 round down polygon shows the viewshed from the indicate of persuasion of the sunglasses. The holes inwards this round down polygon present where the sunglasses' indicate of persuasion is interrupted past times the pyramids together with other buildings.
The map is really impressive. It is too a pretty great demonstration of the ability of turf.js for carrying out advanced geospatial analysis amongst interactive mapping libraries.