forsythe
Re:Show HN: Algoviz, Interactive a* Pathfinding Visualization
on Sunday January 12, 2020 @04:01AM (#22025268)
Wow :D you really had the patience to put up all those walls. Good thing I used Svelte for the project and made the rendering as smooth as possible :P
Re:Show HN: Algoviz, Interactive a* Pathfinding Visualization
on Sunday January 12, 2020 @03:59AM (#22025261)
Yup, I based this app on that article as matter of fact!
Re:Show HN: Algoviz, Interactive a* Pathfinding Visualization
on Sunday January 12, 2020 @03:59AM (#22025258)
I believe the push and pull is between optimal path and time to find the path. The heuristic dictates whether the algorithm will lean towards Dijkstra or Greedy or somewhere in between.
I got my knowledge about heuristics from here:
http://theory.stanford.edu/~amitp/GameProgramming/Heuristics...
Re:Show HN: Algoviz, Interactive a* Pathfinding Visualization
on Saturday January 11, 2020 @07:59PM (#22023616)
I've set up the app in a way that I am sending "steps" from the worker. That way I can describe each step textually. I'll post updates here probably!
Re:Show HN: Algoviz, Interactive a* Pathfinding Visualization
on Saturday January 11, 2020 @07:58PM (#22023609)
Its due to this:
https://github.com/ssaric/algoviz/blob/012c60acb2fa452ee5a3c...
Currently heuristics is hardcoded to be greedy. I am looking to change this in next few days
Re:Show HN: Algoviz, Interactive a* Pathfinding Visualization
on Saturday January 11, 2020 @07:51PM (#22023575)
Thanks! I will keep app as a reference for my future feature development. The app will lean towards understanding the algorithms rather than being used in other apps.
Re:Show HN: Algoviz, Interactive a* Pathfinding Visualization
on Saturday January 11, 2020 @06:38PM (#22023244)
Good idea, I'll add it to the roadmap. Thanks!
Re:Show HN: Algoviz, Interactive a* Pathfinding Visualization
on Saturday January 11, 2020 @05:30PM (#22022831)
Hi,
I made this little app to better understand how A* works. I decided to continue developing it for educational purposes.
Computation is done on worker so main thread should be safe all the time.
I plan to add textual information on each step, to show how algorithm is "thinking".
Also, heuristics is fixed for now, I plan to add heuristics choice. So,
Roadmap: - different heuristics - 8 way support - Detailed explanation of each step
Let me know what you think!
Re:CSS-In-JS and Static Rendering
on Sunday February 03, 2019 @06:59AM (#19069139)
Personally, I don't mind the concept. I can write CSS on a microwave if I have to. But CSS is supposed to be simple, not to be mixed with JS.
There are good designers out there who know HTML and CSS but not JS. This will lead to a problem for those people.
Let's be honest, you cannot just jump into a React component and edit CSS if your knowledge of JS is slim to none.
Re:Ask HN: Have you ever regretted working on a product?
on Wednesday November 21, 2018 @05:37AM (#18501592)
yes