-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathhex_map_generator.html
More file actions
142 lines (118 loc) · 5.37 KB
/
Copy pathhex_map_generator.html
File metadata and controls
142 lines (118 loc) · 5.37 KB
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
<html>
<head><title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!-- Online -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
<!-- Offline -->
<!-- <link rel="stylesheet" href="offline/bootstrap.min.css"> -->
<!-- <link rel="stylesheet" href="offline/bootstrap-theme.min.css" integrity="sha384-fLW2N01lMqjakBkx3l/M9EahuwpSfeNvV63J5ezn3uZzapT0u7EYsXMjQV+0En5r" crossorigin="anonymous"> -->
<link href="css/menu.css" rel="stylesheet" type="text/css" />
<link href="css/map_generator_styles.css" rel="stylesheet" type="text/css" />
</head>
<body>
<!-- onLoad="document.getElementById('overlay').style.display = 'none';" -->
<!-- <div id="overlay"></div> -->
<div class="toolbar container">
<div class="row title-row">
<div class="title col-md-12 logo">Region Map Generator <img src="img/d20.png" width="25" height="28"></div>
</div>
<div class="row padding-below">
<div class="button menu-button"> <span class="glyphicon glyphicon-th"></span> </div>
<div class="button" id="large">Small</span></div>
<div class="button" id="medium">Medium</div>
<div class="button" id="small">Large</div>
<div class="button" id="reload">Generate <span class="glyphicon glyphicon-refresh"></span></div>
<a class="button" id="save_link">Save <span class="glyphicon glyphicon-cloud-download"></span></a>
<div class="button" id="show_key_button"> <span class="glyphicon glyphicon-question-sign"></span> </div>
</div>
<div class="row">
<div class="alert alert-warning right">Warning! Large maps may take a long time to load!</div>
</div>
</div>
<div id="index-menu" class="index-menu">
<div class="index-row">
<div id="menu-auto-roll-tables" class='index-btn' aria-hidden='true'>Auto Roll Tables</div>
</div>
<div class="index-row">
<div id="menu-region-map-generator" class='index-btn-bottom' aria-hidden='true'>Region Map Generator</div>
</div>
</div>
<div class="key" id="key">
<center>
<table class="key_table">
<tr>
<td>Plains</td>
<td><div class="plains"/></td>
<td>Brush</td>
<td><div class="brush"/></td>
</tr>
<tr>
<td>Forest</td>
<td><div class="forest"/></td>
<td>Rough</td>
<td><div class="rough"/></td>
</tr>
<tr>
<td>Desert</td>
<td><div class="desert"/></td>
<td>Hills</td>
<td><div class="hills"/></td>
</tr>
<tr>
<td>Mountains</td>
<td><div class="mountains"/></td>
<td>Marsh</td>
<td><div class="marsh"/></td>
</tr>
<tr>
<td>Water</td>
<td><div class="water"/></td>
<td>Valley</td>
<td><div class="valley"/></td>
</tr>
<tr>
<td colspan=4>
<p><i>How this map is generated:</i> This generates starting with a single tile and generates across the whole map from tile to tile based on the previous tile generated. see <a href="https://www.reddit.com/r/DnDBehindTheScreen/comments/4zqe25/stolen_tables_from_gygax/">this</a> post or the D&D 1E DMG (pg 173) for additional detail.</p>
<p><i>Changes from original table:</i> Scrub to Brush, Pond to Water, Depression to Valley. If you really prefer the other text, <a href="https://github.com/dangeratio/hex-map-generator">fork me on github</a> and change it. :)</p>
</td>
</tr>
</table>
</center>
</div>
<canvas id="canvas"></canvas>
<!-- //////////////////////////////////////////////////////// -->
<!-- SCRIPTS -->
<!-- //////////////////////////////////////////////////////// -->
<!-- Offline -->
<!-- <script src="js/ocanvas-2.8.7.min.js"></script> -->
<!-- <script src="offline/jquery.min.js"></script> -->
<!-- <script src="offline/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script> -->
<!-- Online -->
<script src="http://cdnjs.cloudflare.com/ajax/libs/ocanvas/2.8.7/ocanvas.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<script src="js/map_generator.js"></script>
<!-- Start of StatCounter Code for Default Guide -->
<script type="text/javascript">
//<![CDATA[
var sc_project=11361152;
var sc_invisible=1;
var sc_security="941940fb";
var scJsHost = (("https:" == document.location.protocol) ?
"https://secure." : "http://www.");
document.write("<sc"+"ript type='text/javascript' src='" +
scJsHost+
"statcounter.com/counter/counter_xhtml.js'></"+"script>");
//]]>
</script>
<noscript><div class="statcounter"><a title="web counter"
href="http://statcounter.com/" class="statcounter"><img
class="statcounter"
src="//c.statcounter.com/11361152/0/941940fb/1/" alt="web
counter" /></a></div></noscript>
<!-- End of StatCounter Code for Default Guide -->
</body>
</html>