-
-
Notifications
You must be signed in to change notification settings - Fork 450
/
index.html
61 lines (55 loc) · 2.03 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!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>