This file contains hidden or 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
<div> | |
<select id="scale"></select> | |
<select id="start"></select> | |
</div> | |
<canvas height="800" width="800"></canvas> |
This file contains hidden or 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
<div> | |
<select id="scale"></select> | |
<select id="start"></select> | |
</div> | |
<canvas height="800" width="800"></canvas> |
This file contains hidden or 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
<header> | |
<input type="range" min="3" max="200" step="1" value="12"> | |
</header> | |
<div> | |
<canvas id="cvs1" height="800" width="800"></canvas> | |
<canvas id="cvs2" height="800" width="800"></canvas> | |
</div> |
This file contains hidden or 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
<header> | |
<input type="range" min="3" max="9" step="1" value="5"> | |
</header> | |
<div> | |
<canvas id="cvs1" height="800" width="800"></canvas> | |
<canvas id="cvs2" height="800" width="800"></canvas> | |
</div> | |
<footer> | |
<ul> | |
<li>Calculated "Max" Distance <span id="max"></span></li> |
This file contains hidden or 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
<header> | |
<input type="range" min="3" max="1000" step="1" value="50"> | |
</header> | |
<div> | |
<canvas id="cvs1" height="800" width="800"></canvas> | |
<canvas id="cvs2" height="800" width="800"></canvas> | |
</div> |
This file contains hidden or 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
<header> | |
<input type="range" list="numbers" value="5"> | |
<datalist id="numbers"> | |
<option>3</option> | |
<option>5</option> | |
<option>10</option> | |
<option>25</option> | |
<option>50</option> | |
<option>100</option> | |
</datalist> |
This file contains hidden or 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
<div> | |
<h1>No Sort</h1> | |
<ul></ul> | |
</div> | |
<div> | |
<h1>By X</h1> | |
<ul></ul> | |
</div> | |
<div> | |
<h1>By Y</h1> |
This file contains hidden or 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
<div> | |
<canvas id="cvs1" height="800" width="800"></canvas> | |
<canvas id="cvs2" height="800" width="800"></canvas> | |
</div> |
This file contains hidden or 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
<section> | |
<div class="progress">0</div> | |
<div class="canvas"> | |
<canvas class="overlay"></canvas> | |
<a class="author" href="https://twitter.com/jake_albaugh" target="blank">@jake_albaugh</a> | |
<a class="restart" href="#">Restart</a> | |
</div> | |
<div class="abilities"></div> | |
</section> | |
<div class="intro"> |
This file contains hidden or 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
console.clear(); | |
const COLORS = [ | |
'hsl(4, 90%, 58%)', 'hsl(291, 64%, 42%)', 'hsl(207, 90%, 54%)', | |
'hsl(122, 39%, 49%)', 'hsl(54, 100%, 62%)', 'hsl(36, 100%, 50%)', | |
'hsl(16, 25%, 38%)' | |
]; | |
const PI = Math.PI; |