mirror of
https://github.com/anvaka/city-roads
synced 2025-03-11 23:00:30 +01:00
61 lines
2 KiB
HTML
61 lines
2 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<script async src="https://www.googletagmanager.com/gtag/js?id=G-TXT6313TGG"></script>
|
|
<script>
|
|
window.dataLayer = window.dataLayer || [];
|
|
function gtag(){dataLayer.push(arguments);}
|
|
gtag('js', new Date());
|
|
|
|
gtag('config', 'G-TXT6313TGG');
|
|
</script>
|
|
<meta property="og:title" content="Draw all roads in any city at once" />
|
|
<meta property="og:image" content="https://i.imgur.com/Fbbe5a6.png" />
|
|
<meta property="og:description" content="This website allows you to select a city and then draws every single road on a screen." />
|
|
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" >
|
|
<meta charset="utf-8">
|
|
<meta name="Description" content="This website allows you to select a city and then draws every single road on a screen.">
|
|
<meta name="keywords" content="city roads visualization, roads, graph, visualization, anvaka" />
|
|
<meta name="author" content="Andrei Kashcha">
|
|
<title>Draw all roads in a city at once</title>
|
|
<link href="https://fonts.googleapis.com/css?family=Roboto&display=swap" rel="stylesheet">
|
|
|
|
<style>
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
body {
|
|
background-color: #F7F2E8;
|
|
position: absolute;
|
|
overflow: hidden;
|
|
font-family: 'Avenir', Helvetica, Arial, sans-serif;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
transition-timing-function: ease-out;
|
|
transition-property: background-color;
|
|
transition-duration: 3s;
|
|
}
|
|
#canvas, body{
|
|
margin: 0;
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
}
|
|
</style>
|
|
|
|
</head>
|
|
<body>
|
|
<canvas id='canvas'></canvas>
|
|
<div id="host"></div>
|
|
|
|
<script type="module" src="/src/main.js"></script>
|
|
</body>
|
|
|
|
</html>
|