-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.html
88 lines (79 loc) · 4.97 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>creative cartography</title>
<style>
head, body{
width:100%;
height:100%;
}
img{
max-width:80%;
/*height:50%;*/
}
ul
{
list-style-type: none;
}
#copyright{
font-family: Verdana, sans-serif;
position: absolute;
right: 0;
top: 0;
padding: 20px;
font-size: .62em;
z-index: 10;
text-align: center;
}
</style>
</head>
<body>
<div id="copyright">nicolas barradeau <a href="http://www.barradeau.com/">barradeau.com</a> - 2016</div>
<h1>cartography</h1>
<p>a series of examples around creative cartography in 2D and 3D, using THREE.js and custom tools.</p>
<p>you'll need a local server with PHP to run the demos and load some tilesets (elevations especially)</p>
<p>the source code is available on a github repo <a href="https://github.com/nicoptere/cartography">https://github.com/nicoptere/cartography</a> and licensed under MIT</p>
<h2>2D tile systems</h2>
<ul>
<li><a href="mbtiles/index.html"> using a .mbtiles file to store tiles for offline use</a></li>
<li><a href="tiles_from_pic/index.html">cutting a big picture into XY tiles<br><img src="slides/cartography/2304296-pluto.png"></a></li>
</ul>
<h2>2D vectors</h2>
<ul>
<li><a href="custom/basic.html">basic GPS data: plotting a month of personal data collected from my google Dashboard<br><img src="slides/cartography/2303850-basic.png"></a></li>
<li><a href="custom/cluster.html">clustering GPS data: using alpha shapes to cluster data visually<br><img src="slides/cartography/2303865-cluster.png"></a></li>
<li><a href="taxi/taxi.html">aggregating GPS data: plotting a day of 5 random San Francisco cabs GPS data (source)<br><img src="slides/cartography/2295168-taxis.png"></a></li>
<li><a href="taxi/taxi_color.html">filtering GPS data: removing noise and indexing colors on the length of each segment<br><img src="slides/cartography/2295166-color4.jpg"></a></li>
</ul>
<h2>(stupid use of) 2D tiles rasterd tiles</h2>
<ul>
<li><a href="azulejos/azulejos.html">plotting the locations of some of lisbon's azuljeos as a voronoi diagram<br><img src="slides/cartography/2303897-azulejos.png"></a></li>
<li><a href="ponies/16/">flying over volcanoes<br><img src="slides/cartography/2304053-volcans.png"></a></li>
<li><a href="ponies/17/">detecting faces on map<br><img src="slides/cartography/2304079-reco.png"></a></li>
</ul>
<h2>3D elevation</h2>
<p>the following demos use a tileset to compute the elevations of the vertices of a plane</p>
<p>it's based on <a href="http://www.elasticterrain.xyz">http://www.elasticterrain.xyz</a> elevation tileset</p>
<p><strong>this will not work online</strong></p>
<ul>
<li><a href="elevation/elevation_0.html">basic elevation<br><img src="slides/cartography/2312119-3d_terrain_basic.png"></a></li>
<li><a href="elevation/elevation_1.html">rendering<br><img src="slides/cartography/2312122-3d_terrain_grid.png"></a></li>
<li><a href="elevation/elevation_2.html">normals<br><img src="slides/cartography/2312130-3d_terrain_normals.png"></a></li>
<li><a href="elevation/elevation_3.html">custom shader<br><img src="slides/cartography/2329341-3d_terrain_shader.png"></a></li>
<li><a href="elevation/elevation_4.html">post processing ( cheap Depth Of Field )<br><img src="slides/cartography/2313582-3d_terrain_dof.png"></a></li>
</ul>
<h2>3D city</h2>
<p>the following demos use <a href="https://openstreetmap.us/~migurski/vector-datasource/">https://openstreetmap.us/~migurski/vector-datasource/</a> vector information to generate 3D models on the fly</p>
<ul>
<li><a href="habitat/lines/index.html">drawing 2D lines in 3D<br><img src="slides/cartography/2304602-3d_holes.png"></a></li>
<li><a href="habitat/section/index.html">triangulating vector shapes<br><img src="slides/cartography/2304610-3d_tesselation.png"></a></li>
<li><a href="habitat/extrusion/index.html">extruding the triangulated sections<br><img src="slides/cartography/2304717-3d_extrusion_color.png"></a></li>
<li><a href="habitat/tile_buffer/tilebuffer.html">improving the build time by merging geometries<br><img src="slides/cartography/2304800-3_buffers.png"></a></li>
<li><a href="habitat/tile_buffer/custom_attributes.html">adding custom attirbutes to the merged geometry<br><img src="slides/cartography/2304848-3d_custom_attributes.png"></a></li>
<li><a href="habitat/full_city/index.html">viszualizing the city of San Fransisco<br><img src="slides/cartography/2329235-city.png"></a></li>
</ul>
<h2>slides</h2>
<a href="slides/index.html">there's also a slide deck (in french) to give some insights and extra material</a>
</body>
</html>