PathFinding.js
build-your-own-x
PathFinding.js | build-your-own-x | |
---|---|---|
14 | 164 | |
8,301 | 141,173 | |
- | - | |
0.0 | 2.5 | |
10 months ago | almost 2 years ago | |
JavaScript | ||
- | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
PathFinding.js
-
A* Tricks for Videogame Path Finding
JPS is fun; though I struggled to interpret the suggested performance gains by the authors indeed due to the calculation of the jump nodes.
Many years ago I added a visualisation to the JPS implementation of PathFinding.js to visualise this recursive search to find jump nodes - here's an online demo: https://qiao.github.io/PathFinding.js/visual/
-
Why do pawns walk crooked like this?
Would be very, very weird. This just seems like the heuristics bugging out. I just replicated the terrain from this screenshot on: https://qiao.github.io/PathFinding.js/visual/
-
Show HN: GPT-4-powered web searches for developers on Phind.com
"A* Pathfinding Visualization" demo on GitHub by Qiao Zhang: https://qiao.github.io/PathFinding.js/visual/
-
bif fort 100 fps 200 dwarfs 4x4 embark.
Central staircase is a bad idea for pathfinding. See e.g. here, try it in 2D here. If you want fps for 200 dwarfs keep things on one z-level with rooms along a single corridor. I personally don't like all these low z-level forts so use multiple staircases at the edges of a cube.
- Graph pathfinding video
-
Is A* pathfinding hard for beginners to code?
Here it is visualised https://qiao.github.io/PathFinding.js/visual/
-
Can you find the optimal route for the trolly?
Jokes aside, I started this year and solved a couple of problems like this. I really liked the challenged, discovered and read about something called graphs in mathematics and Hamiltonian paths. There is a simple part and an algorithm part. The simple part is "listing" all the dots there. Imagine a table of elements, every dot has its sub- table with its name and connections (where you have a list of all the other Dots you could directly go from this one). Then comes the algorithm, which can be as elaborate as you want. Usually, if you don't mind performance time, it becomes simple since you only need to tell the program "start here, end here, go through all possible paths and give me the shortest one" Then, if you need to have a better performance, you adapt one of the many know algorithms for pathfinding, like the dikjistra one. For those, when adapted into your code, you "just" give them your table of dots with their connections and they will return you the "shortest" path, or the first they found, depending on the algorithm. The challenge I found most useful to understand this was from codewars. https://www.codewars.com/kata/5a667236145c462103000091 And here you can se a demonstration of those algorithms (just imagine that every square, in this case, would be one of those dots and instead of 4 connections they have the ones showed here) https://qiao.github.io/PathFinding.js/visual/
- [Media] Wrote a neat little maze solver. Largest solved so far is 125k x 125k. Here's a smaller 512x512:
-
Beginner C++ Projects Recommendation?
make this (but as a desktop application, not a web app - you can make it a lot simpler and just implement A Star) https://qiao.github.io/PathFinding.js/visual/
-
Is it normal if A* does this?
Here's a picture comparing the search areas using this tool that another commenter linked.
build-your-own-x
-
Ask HN: Project based books/courses for C++?
https://github.com/danistefanovic/build-your-own-x
- Simplemente aplique
-
Ask HN: What are some books where the reader learns by building projects?
https://news.ycombinator.com/item?id=22299180
https://news.ycombinator.com/item?id=13660086
https://news.ycombinator.com/item?id=26039706
Other resources:
https://github.com/danistefanovic/build-your-own-x
https://github.com/AlgoryL/Projects-from-Scratch
https://github.com/tuvtran/project-based-learning
All suggestions are welcome,thanks in advance
-
Some healthy advice for those of you learning to code
Make sure that apart from learning you're using the knowledge to create something either your own idea or maybe something from https://github.com/danistefanovic/build-your-own-x (with your own twist if possible.). It helps a lot to be working on something separately and seeing the results of your new knowledge outside of a tutorial scenario.
-
Top 50 Useful GitHub Repos That Every Developer Should Follow
28. Build your own X
- Project ideas
- Hello
-
I finished learncpp and The C++ Programming Language, 4th Edition. What next?
Do some projects. Come up with your own ideas or pick something from a list like https://github.com/danistefanovic/build-your-own-x
-
guidance/pathway suggestions for learning pyhton?
ello! i'm 20f and humanities student (ir/poli sci) with interest in coding since high school, but just now i have the time to start learning it. i opted for learning pyhton first mostly because i'm interested in automation, data analysis, plus was skimming over the tutorials of build your own x and was surprised that you can do a lot of things with just pyhton.
-
C++ exercises?
As for exercises there are plenty of programming task websites out there, most of them are quite boring but you can use a fun one like https://adventofcode.com/ . However the best things to work on are things you actually like so do some small projects. Games (start with command line stuff like hang-man) are common, otherwise pick something from https://github.com/danistefanovic/build-your-own-x or whatever else ideas come to your mind.
What are some alternatives?
pysc2 - StarCraft II Learning Environment
project-based-learning - Curated list of project-based tutorials
build-your-own-x - Master programming by recreating your favorite technologies from scratch.
computer-science - :mortar_board: Path to a free self-taught education in Computer Science!
awesome-advent-of-code - A collection of awesome resources related to the yearly Advent of Code challenge.
tech-interview-handbook - 💯 Curated coding interview preparation materials for busy software engineers
gerev - 🧠 AI-powered enterprise search engine 🔎
system-design-primer - Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.
honggfuzz - Security oriented software fuzzer. Supports evolutionary, feedback-driven fuzzing based on code coverage (SW and HW based)
Daily-Coding-DS-ALGO-Practice - A open source project🚀 for bringing all interview💥💥 and competative📘 programming💥💥 question under one repo📐📐
developer-roadmap - Interactive roadmaps, guides and other educational content to help developers grow in their careers.
free-programming-books - :books: Freely available programming books