Xueqiao (Joe) Xu

Results 21 comments of Xueqiao (Joe) Xu

Hi @josephrocca, Thank you for your insightful suggestions. The reason that I chose John Resig's class implementation is that it provides a very convenient API to define classes, which is...

I'm currently planning for a rewrite. It may take some time for the site to revive.

Sorry for the late reply. I'm thinking about separating the xhr operations into an ApiController, which can be registered as a middleware. This can keep the rest controllers clean(free of...

Thanks for the report. It's a pity that the actual MIDI player is provided by a 3rd party library and I currently don't have much time to examine the source....

It does work in Firefox, but does not perform well. I'll change "Chrome Only" to "Chrome is recommended" :)

Hi @reimai, thanks for your pull request. A minor issue with your patch is that you should modify the source file located in the `src` directory instead of the compiled...

This feature could be implemented for A*. However, some other algorithms in this library such as the Breadth-First-Search and the Jump-Point-Search can not use non-uniform cost. Therefore, this behavior may...

https://github.com/qiao/PathFinding.js/blob/master/src/core/Grid.js#L170 ``` +-----+-----+-----+ | | A | B | +-----|-----|-----+ | | C | D | +-----|-----|-----+ | | | | +-----+-----+-----+ ``` For the current implementation, if `dontCrossCorners` is...

Yes, you can modify the code starting from this line: https://github.com/qiao/PathFinding.js/blob/master/src/core/Grid.js#L170 delete the `if-else` block and assign `d0`, `d1`, `d2` and `d3` to be all `true` and that's done.

You are correct. The Bi-Directional A\* Search is not guaranteed to find the shortest path and it has been noted in the README. And PathFinding.js provides a method named `smoothenPath`...