Better HN
topnewbestaskshowjobs
Log inSign up

forsythe

51 karma · joined Nov 3, 2016 (10y ago) · 12 submissions

Submissions

comment 6y ago · link · parent

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

comment 6y ago · link · parent

Yup, I based this app on that article as matter of fact!

comment 6y ago · link · parent

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...

comment 6y ago · link · parent

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!

comment 6y ago · link · parent

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

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

Good idea, I'll add it to the roadmap. Thanks!

comment 6y ago · link · parent

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!

9.

Show HN: Algoviz, Interactive a* Pathfinding Visualization(algoviz.njanjo.com ↗)

89 points · by forsythe · 6y ago · 29 comments

comment 7y ago · link · parent

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.

comment 8y ago · link · parent

yes