-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
193 lines (145 loc) · 7.24 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
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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
<!doctype html>
<html lang="en">
<html prefix="og: http://ogp.me/ns#">
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<!-- Latest compiled and minified CSS & JS -->
<link rel="stylesheet" media="screen" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>Joroze</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta property="og:title" content="Jordan Rosenberg's AI Project">
<meta property="og:image" content="img/aiprojectpreview.png">
<meta property="og:description" content="A portfolio website that contains Jordan's latest resume in various forms, along with link references, and some example projects.">
<link rel="apple-touch-icon" href="apple-touch-icon.png">
<!-- Place favicon.ico in the root directory -->
<script type="text/javascript" src="scripts/logic.js"></script>
<script type="text/javascript" src="scripts/tipped.js"></script>
<link href="css/normalize.css" rel="stylesheet" type="text/css"/>
<link rel="stylesheet" type="text/css" href="css/tipped.css"/>
<div id="preloader">
<div id="status"> </div>
</div>
</head>
<body style="background-color:black;">
<nav class="navbar navbar-inverse navbar-fixed-top" style="
border-top: 3px solid #5bde7d
">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="http://joroze.com/"><span class="glyphicon glyphicon-home" aria-hidden="true"></span></a>
<p class="navbar-text navbar-left"><span class="blinking">Updated: </span> 2/7/2017 - <span class="navbar-hovertext">Jordan Rosenberg</span>'s project page</p>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><span class="glyphicon glyphicon-info-sign
" aria-hidden="true"></span><span class="caret"></span></a>
<ul class="dropdown-menu">
<li class="dropdown-header">Contact</li>
<li><a href="mailto:roseje57@oneonta.edu"><span class="glyphicon glyphicon-envelope
" aria-hidden="true"></span> Email</a></li>
<li role="separator" class="divider"></li>
<li class="disabled"><a href='javascript:'><span class="glyphicon glyphicon-lamp
" aria-hidden="true"></span> Blog</a></li>
<li role="separator" class="divider"></li>
<li><a href="http://joroze.com/JResume/"><span class="glyphicon glyphicon-folder-open
" aria-hidden="true"></span> Archived Website</a></li>
</ul>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a href="https://www.linkedin.com/in/jordan-rosenberg-aa223aba">LinkedIn</a>
</li>
<li><a href="https://github.com/Joroze">GitHub</a></li>
</ul>
</div>
<!-- /.navbar-collapse -->
</div>
<!-- /.container-fluid -->
</nav>
<div class="jumbotron">
<div class="container">
<h1>AI Programming</h1>
<p>
This <span class="project-tooltip">project</span> creates and displays a user-defined dynamic 2D array grid where the user can define the grid size and percent of randomly generated obstacles within it.</p>
<p>The user is then be given a choice of <span class="algorithm-tooltip">algorithms</span> that traverse the grid's user-defined start and end positions.</p>
<p>The webpage displays the process step by step, and then highlights the shortest possible route indicated.</p>
</div>
</div>
<script type="text/javascript">
$(document).ready(function() {
Tipped.create('.project-tooltip', "Created with HTML, CSS, and JavaScript + JQuery");
Tipped.create('.algorithm-tooltip', "Breadth First, Depth First, Best First, and A*");
});
</script>
<div class="container">
<div id="alert_placeholder"></div>
<form class="form">
<div class="row">
<div class="col-lg-6 col-xs-6">
<div class="input-group" id="rows-div">
<span class="input-group-addon">Rows</span>
<input type="number" min="0" class="form-control form-control-warning" id="rows-field" value="10" placeholder="#" required>
</div>
</div>
<div class="col-lg-6 col-xs-6">
<div class="input-group" id="cols-div">
<span class="input-group-addon">Cols</span>
<input type="number" min="0" class="form-control form-control-warning" id="cols-field" value="10" placeholder="#" required>
</div>
</div>
</div>
</form>
<br>
<div class="input-group-sm" id="concentration-div">
<span class="input-group-addon">Concentration %</span>
<input type="number" min="0" max="100" class="form-control" id="concentration-field" value="25" placeholder="% of Black Tiles" required>
</div>
</div>
<br>
<div class="container">
<div class="text-center">
<div class="btn-group btn-group-sm" id="btnPanel" role="group" aria-label="btnPanel">
<button type="button" id="traverseBtn" class="btn btn-danger disabled" onclick="traverse();" target="_blank">Breadth First Search</button>
<button type="button" id="generateArrayBtn" class="btn btn-info" onclick="generateArray();" target="_blank">Generate Array</button>
<button type="button" id="viewArrayBtn" class="btn btn-default disabled" data-toggle="modal" data-target="#myModal">View Data</button>
</div>
</div>
<!-- Modal -->
<div class="modal fade" id="myModal" role="dialog">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">2D Array Data</h4>
</div>
<div class="modal-body">
<p id="arrayModalText">Generate a 2D Array Grid first in order to see (debug) values here.</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
</div>
<div class="text-center">
<strong id="log"></strong>
</div>
<br>
<br>
<table id="table"></table>
</body>
</html>