News for hackers. Stuff that matters.
Re:Mazery: a map generation visualizer (HTML5 canvas + Coffe... by slig on Sunday September 11, 2011 @09:11PM (#2985442)
See also http://weblog.jamisbuck.org/under-the-hood for a collection of awesome posts about maze algorithms.
Re:Mazery: a map generation visualizer (HTML5 canvas + Coffe... by Acorn on Monday September 12, 2011 @04:35AM (#2986326)
Re:Mazery: a map generation visualizer (HTML5 canvas + Coffe... by Woost on Sunday September 11, 2011 @11:17PM (#2985691)
Yeah, he has really good descriptions of the various algorithms, with examples.
Re:Mazery: a map generation visualizer (HTML5 canvas + Coffe... by ashastry on Sunday September 11, 2011 @11:05PM (#2985673)
ya.. 1 up for these posts... they are too good...
Re:Mazery: a map generation visualizer (HTML5 canvas + Coffe... by stevejackson on Monday September 12, 2011 @12:18AM (#2985815)
Hey, author of this here. Cool that it showed up! This was actually was my first shot at using CoffeeScript, so if anyone wants to check out the github and throw some pointers out for better CoffeeScript style code, that'd be awesome!

Apparently this is a resource hog and runs pretty slow in Firefox and IE9 at the moment. I'll see what profiling shows up.

I hope to implement some other generation algorithms so people can compare them side-by-side. Suggestions welcome!

Re:Mazery: a map generation visualizer (HTML5 canvas + Coffe... by moomin on Monday September 12, 2011 @04:42AM (#2986340)
Brilliant. How about a nethack style room maze?
Re:Mazery: a map generation visualizer (HTML5 canvas + Coffe... by tikhonj on Sunday September 11, 2011 @11:37PM (#2985730)
It amazes me how a really good presentation can make something relatively simple simultaneously novel and interesting.

I've seen other maze generators, and even written a couple before, but this one stands out just by looking really awesome.

Re:Mazery: a map generation visualizer (HTML5 canvas + Coffe... by esk on Sunday September 11, 2011 @10:02PM (#2985541)
I really love visualized algorithms like this. To less-than-brilliant people like me, it's often the only intuitive way to understand how an algorithm works.
Re:Mazery: a map generation visualizer (HTML5 canvas + Coffe... by bprater on Monday September 12, 2011 @01:32AM (#2985963)
Agreed. Loved that he showed the vertical refresh in the algorithm. The colors were nice, too. Would love to see more about algorithms like this.
Re:Mazery: a map generation visualizer (HTML5 canvas + Coffe... by Aloisius on Monday September 12, 2011 @12:32AM (#2985842)
Aren't mazes supposed to have entrances and exits?
Re:Mazery: a map generation visualizer (HTML5 canvas + Coffe... by wlievens on Monday September 12, 2011 @04:28AM (#2986304)
Very, very nice visualization.