Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lovegraphs
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
lovegraphs
11y ago
Same on Chrome 45.0.2454.101, Ubuntu 14.04
2.
▲
by
lovegraphs
11y ago
Thank you, sorry about that. I changed some references around and caught that error only after having deployed.
3.
▲
by
lovegraphs
11y ago
By the way, thank you for your colorful simile--it really spurred me to fix this issue this morning, and I've definitely learned to take cross-browser compatibility more seriously. Cheers.
4.
▲
by
lovegraphs
11y ago
Safari is fixed! I need to get a Macbook so testing is faster than waiting for a screenshot online...
5.
▲
by
lovegraphs
11y ago
Hey Vishal, thanks! Small world!
6.
▲
by
lovegraphs
11y ago
Thanks! It now works on iOS. Still working on Safari...
7.
▲
by
lovegraphs
11y ago
Thanks! Pull request merged.
8.
▲
by
lovegraphs
11y ago
Thanks! Removed.
9.
▲
by
lovegraphs
11y ago
Lamentable. Must be some missing cross-browser CSS.. I'll look into it tomorrow! In the meanwhile try it in Chrome if you have a chance :)
10.
▲
by
lovegraphs
11y ago
The particular generation algorithm that you see is called "Randomized Prim's algorithm" on Wikipedia. It starts at a random cell in a grid, marks it as discovered, and adds all of that cell's adjacent walls to a queue.
11.
▲
by
lovegraphs
11y ago
That's right, it does a breadth-first-search from the end-point immediately upon clicking the end-point; it then traces the path from the start-point, following the parent-pointers set during the BFS, painting the DOM in the process.
12.
▲
by
lovegraphs
11y ago
Thanks!
13.
▲
Maze Generator and Solver
(golubitsky.github.io)
53 points
by
lovegraphs
11y ago
|
41 comments