Daily Shaarli
February 28, 2021
Let’s look at the following example and imagine that we are trying to parse a mathematical operation.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Ouch! - 403</title>
<style type="text/css">
h1.error {
left: 0;
line-height: 200px;
margin-top: -100px;
position: absolute;
text-align: center;
top: 50%;
width: 100%;
font-size: 15em;
color: #dadada;
-webkit-text-fill-color: #dadada;
-webkit-text-stroke-width: 1px;
-webkit-text-stroke-color: black;
}
</style>
</head>
<body>
<h1 class="error">403</h1> </body>
</html>
I just resurrected and cleaned up an old tool I had lying around. It's now nice and usable by others. This tool loads terrain data, and renders it from the ground, simulating what a human or a camera would see. This is useful for armchair exploring or for identifying peaks. This was relatively novel when I wrote it >10 years ago, but there are a number of similar tools in existence now. This implementation is still useful in that it's freely licensed and contains APIs, so fancier processing can be performed on its output.