-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 08874d5
Showing
12 changed files
with
1,191 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
./js/misc |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
body{ | ||
background-color: #eee; | ||
} | ||
.canvas-container{ | ||
position: relative; | ||
height: 640px; | ||
width: 1280px; | ||
/*margin-top:0%;*/ | ||
} | ||
canvas{ | ||
/*position: absolute;*/ | ||
top:10px; | ||
margin:auto; | ||
float:left; | ||
} | ||
.bg-canvas{ | ||
/*height: 100%;*/ | ||
/*width: 100%;*/ | ||
background-color: black; | ||
/*border: 1px solid green;*/ | ||
z-index: 1; | ||
border-radius:4px; | ||
} | ||
.main-canvas{ | ||
/*margin:2.5%;*/ | ||
/*height: 100%;*/ | ||
/*width: 100%;*/ | ||
/*background-color: rgba(0,0,0,0.9);*/ | ||
/*border-radius: 4px;*/ | ||
z-index: 10; | ||
} | ||
.pb-controls{ | ||
margin-top:1%; | ||
} |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
<!doctype html> | ||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> | ||
<head> | ||
<title>Project</title> | ||
<script type="text/javascript" src="js/jquery-2.2.2.min.js"></script> | ||
<script type="text/javascript" src="js/bootstrap.min.js"></script> | ||
<!-- <script type="text/javascript" src="js/main.js"></script> --> | ||
<script type="text/javascript" src="js/main2.js"></script> | ||
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css"> | ||
<link rel="stylesheet" type="text/css" href="css/main.css"> | ||
</head> | ||
<body> | ||
<div class="container" style="height:100%;"> | ||
<div class="center"><h4>Welcome</h4></div> | ||
<!-- <div class="canvas-container"> --> | ||
<canvas width="640px" height="640px" id="bg-canvas" class="bg-canvas"></canvas> | ||
<canvas width="640px" height="640px" id="main-canvas" class="main-canvas"></canvas> | ||
<!-- </div> --> | ||
<div class="pb-controls"> | ||
<div class="row"> | ||
<div class="col-md-2"> | ||
<button class="btn btn-success" onclick = "start();">Begin Untrained!</button><br> | ||
<button class="btn btn-success" onclick = "trainedstart();">Begin Trained</button> | ||
</div> | ||
<div class="col-md-2"> | ||
<button class="btn btn-success" onclick = "pause();">Pause</button> | ||
</div> | ||
<div class="col-md-2"> | ||
<button class="btn btn-success" onclick = "toggleGlow();">Toggle Glow</button> | ||
</div> | ||
<div class="col-md-2"> | ||
<button class="btn btn-success" onclick = "toggleTrail();">Toggle Trail</button> | ||
</div> | ||
<div class="col-md-2"> | ||
<button class="btn btn-success" onclick = "clearScreen('main-canvas');">Clear</button> | ||
<button class="btn btn-success" onclick = "clearEachGen();">Clear Screen each gen</button> | ||
</div> | ||
<div class="col-md-2"> | ||
<button class="btn btn-success" onclick="toggleFast();">Fast/Slow</button><br> | ||
<button class="btn btn-success" onclick="toggleGenetic();">Toggle Genetic Algo</button><br> | ||
<button class="btn btn-success">Save</button> <br> | ||
<strong>Current Best Holder (was best in prev gen):<br></strong><span id="bestholder"></span> | ||
</div> | ||
</div> | ||
<div> | ||
<h3><strong>Generation:</strong> <span id="gen">0</span>, Best: <span id="best"></span></h3><br> | ||
</div> | ||
<!-- <div> | ||
<button onclick="incl(1)">l+</button> | ||
<input type="text" id="ls"> | ||
<button onclick="incl(-1)">l-</button> | ||
<button onclick="incr(1)">r+</button> | ||
<input type="text" id="rs"> | ||
<button onclick="incr(-1)">r-</button> | ||
</div> --> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.