forked from anvaka/city-roads
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
59 lines (55 loc) · 2.18 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
<!DOCTYPE html>
<html>
<head>
<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="app"></div>
<!-- built files will be auto injected -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-47259320-1', 'anvaka.github.io');
ga('send', 'pageview');
</script> </body>
</html>