Final cleanup and trimming.
This commit is contained in:
parent
450db5e008
commit
5e29b756ea
@ -108,11 +108,11 @@ function spawnPathfinder(root) {
|
||||
|
||||
|
||||
// Start and End nodes
|
||||
let start_node = [Math.floor(horizontal_cells/3) , Math.floor(vertical_cells/2)];
|
||||
let end_node = [Math.floor(horizontal_cells/3*2) , Math.floor(vertical_cells/2)];
|
||||
let start_node = [Math.floor(horizontal_cells*0.25) , Math.floor(vertical_cells/2)];
|
||||
let end_node = [Math.floor(horizontal_cells*0.75) , Math.floor(vertical_cells/2)];
|
||||
|
||||
let start_node_initial = [Math.floor(horizontal_cells/3) , Math.floor(vertical_cells/2)]
|
||||
let end_node_initial = [Math.floor(horizontal_cells/3*2) , Math.floor(vertical_cells/2)]
|
||||
let start_node_initial = [Math.floor(horizontal_cells*0.2) , Math.floor(vertical_cells/2)]
|
||||
let end_node_initial = [Math.floor(horizontal_cells*0.8) , Math.floor(vertical_cells/2)]
|
||||
|
||||
// Populating grid
|
||||
for(var i = 0; i < vertical_cells; i++)
|
||||
|
@ -2,6 +2,20 @@
|
||||
<!-- .slide: data-background="slides/bonus_round.jpg" data-background-size="contain" data-background-opacity="0.3"-->
|
||||
-V-
|
||||
|
||||
#### Baby Elephant Syndrome <!-- .element: class="text-over-image" -->
|
||||
<!-- .slide: data-background="slides/baby_elephant.jpg" data-background-opacity="0.8" data-background-size="contain" -->
|
||||
|
||||
-V-
|
||||
<!-- .slide: data-background="slides/baby_elephant.jpg" data-background-opacity="0.3" data-background-size="contain" -->
|
||||
|
||||
Young elephant gets tied to a tree by a thin rope which it can't break.
|
||||
|
||||
As an adult, it is constrained by the same thin rope and it doesn't break free.
|
||||
|
||||
Because it learned it is no use to even try.<!-- .element: class="fragment" -->
|
||||
|
||||
-V-
|
||||
|
||||
### TOOL: Journal
|
||||
|
||||
Just one line a day
|
||||
|
@ -1,6 +1,51 @@
|
||||
## Left out for brevity
|
||||
|
||||
---
|
||||
<!-- .slide: data-transition="slide-in fade-out" -->
|
||||
#### But as the saying goes...
|
||||
|
||||
> Premature optimization is the root of all evil
|
||||
|
||||
— <cite>Donald Knuth</cite>
|
||||
|
||||
---
|
||||
|
||||
<!-- .slide: class="pathfinder-page" -->
|
||||
#### Try out everything?
|
||||
|
||||
<header class="navbar hidden">
|
||||
<nav class="navbar">
|
||||
<div class="navbar-item">
|
||||
<div class="custom-select">
|
||||
<select class="algo-select">
|
||||
<option value="BFS" selected>Breadth First Search</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="navbar-item">
|
||||
<div class="custom-select">
|
||||
<select class="maze-algo-select">
|
||||
<option value="Random" selected>Random Maze</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="navbar-item">
|
||||
<div class="speed-container slidecontainer">
|
||||
<span class="range-caption">Speed</span>
|
||||
<input type="range" class="slider range-speed" min="0" max="200" value="100">
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
<div class="main-grid-container">
|
||||
<div class="grid-container"><div class="grid" id="grid"></div></div>
|
||||
</div>
|
||||
<div class="pathfinder-rerun">Restart</div>
|
||||
|
||||
This could take a lifetime.
|
||||
|
||||
-V-
|
||||
|
||||
<!-- .slide: class="pathfinder-page" -->
|
||||
#### Try whatever comes?
|
||||
|
||||
|
@ -64,14 +64,6 @@ We can easily become overwhelmed by options.
|
||||
#### so we leave it for *later*.
|
||||
<!-- .element: class="fragment" -->
|
||||
|
||||
-V-
|
||||
<!-- .slide: data-transition="slide-in fade-out" -->
|
||||
#### But as the saying goes...
|
||||
|
||||
> Premature optimization is the root of all evil
|
||||
|
||||
— <cite>Donald Knuth</cite>
|
||||
|
||||
-V-
|
||||
<!-- .slide: data-transition="fade-in slide-out" -->
|
||||
#### But as the saying goes...
|
||||
@ -86,42 +78,7 @@ We can easily become overwhelmed by options.
|
||||
|
||||
-V-
|
||||
<!-- .slide: class="pathfinder-page" -->
|
||||
#### Try out everything?
|
||||
|
||||
<header class="navbar hidden">
|
||||
<nav class="navbar">
|
||||
<div class="navbar-item">
|
||||
<div class="custom-select">
|
||||
<select class="algo-select">
|
||||
<option value="BFS" selected>Breadth First Search</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="navbar-item">
|
||||
<div class="custom-select">
|
||||
<select class="maze-algo-select">
|
||||
<option value="Random" selected>Random Maze</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="navbar-item">
|
||||
<div class="speed-container slidecontainer">
|
||||
<span class="range-caption">Speed</span>
|
||||
<input type="range" class="slider range-speed" min="0" max="200" value="100">
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
<div class="main-grid-container">
|
||||
<div class="grid-container"><div class="grid" id="grid"></div></div>
|
||||
</div>
|
||||
<div class="pathfinder-rerun">Restart</div>
|
||||
|
||||
This could take a lifetime.
|
||||
|
||||
-V-
|
||||
<!-- .slide: class="pathfinder-page" -->
|
||||
#### Focus in one direction?
|
||||
#### Set a rough direction and start exploring!
|
||||
|
||||
<header class="navbar hidden">
|
||||
<nav class="navbar">
|
||||
@ -141,8 +98,7 @@ This could take a lifetime.
|
||||
</div>
|
||||
<div class="navbar-item">
|
||||
<div class="speed-container slidecontainer">
|
||||
<span class="range-caption">Speed</span>
|
||||
<input type="range" class="slider range-speed" min="0" max="200" value="100">
|
||||
<input type="range" class="slider range-speed" min="0" max="200" value="80">
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
@ -152,8 +108,6 @@ This could take a lifetime.
|
||||
</div>
|
||||
<div class="pathfinder-rerun">Restart</div>
|
||||
|
||||
Now we're making progress!
|
||||
|
||||
---
|
||||
<!-- .slide: data-background-color="#030" -->
|
||||
## Personal Intermezzo!
|
||||
|
Loading…
Reference in New Issue
Block a user