Table of Contents
After watching a video from Stuff Made Here about using graph theory to build a basketball hoop where the shot always lands in, I was curious to more how to incorporate graph theory in my own project.
Source: Wikipedia (License)
Seperately, I noticed that in some names on a keyboard, all the letters are adjacent to each other.
"DREW" can be spelled "D" -> "R" -> "E" -> "W", moving between letters adjacent to their corners.
But what about more complicated names like "SCOTT" or "WASHINGTON"? How could you determine the shortest path between the letters? How would you know where to go?
With these two ideas, I worked on this project to make a program that determine the shortest path for any name and give a final "distance" score for each name. What is the shortest path for each name depending on the name length?
- A*, a path-finding algorithm
- React.js
- SASS
- Bootstrap
- ES6 Modules
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
- Stretch Goal: Add unit tests for current keyboards to assist for further keyboard additions
- Stretch Goal: Account for other languages accented letters (Renée, Götz, etc. )
- Stretch Goal: Heat map for each keyboard based on the optimal path and searched letters
See the open issues for a full list of proposed features (and known issues).
Scott Henderson Github: https://github.com/smhenderson89
Stuff Made Here Youtube channel for inspiration (link)
Sebastian Lague for Astar Explaination (link)
Peter Froud
Daniel Therman