flyswatter/png-heightmap — pull request #2 by maxogden (2013-01-19 23:25:31+00:00)
Title: speed improvement

instead of using this function https://github.com/arian/pngjs/blob/master/PNG.js#L139 which is the normal built in one that is slow (because it calls Array.prototype.slice 2 million times for 2 million voxels) I just took out all the cruft and now it is much faster but only works with grayscale PNGs (aka heightmaps)