diff --git a/module/pathfinder/main.js b/module/pathfinder/main.js index 264647a..fc8619f 100644 --- a/module/pathfinder/main.js +++ b/module/pathfinder/main.js @@ -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++) diff --git a/slides/bonus.md b/slides/bonus.md index c03a29c..096bd74 100644 --- a/slides/bonus.md +++ b/slides/bonus.md @@ -2,6 +2,20 @@ -V- +#### Baby Elephant Syndrome + + +-V- + + +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. + +-V- + ### TOOL: Journal Just one line a day diff --git a/slides/disabled.md b/slides/disabled.md index 3075abb..7c88063 100644 --- a/slides/disabled.md +++ b/slides/disabled.md @@ -1,6 +1,51 @@ ## Left out for brevity --- + +#### But as the saying goes... + +> Premature optimization is the root of all evil + +— Donald Knuth + +--- + + +#### Try out everything? + +
+