DF Modding / Dwarf Heightmap ported to HTML5
« on: July 17, 2012, 02:14:56 pm »Couple of years back I wrote a C# app for turning heightmaps into DF worlds. Well, it's 2012 now, so EVERYTHING SHOULD BE HTML5!
Behold, Dwarf Heightmap for the browser. Requires no installation - just a recent browser like Firefox, or Chrome, or (hopefully) the most recent versions of IE.

It's all written in CoffeeScript (just because), and it's MIT licensed, just in case you want to piss about with it.
Usage is simple - pick the type of data you want, hit the browse button, and pick an image. Fiddle with Offset and Ratio to affect the sea level and the contrast. Copy the output into world_gen.txt and get genning.
Go play with it HERE.
Get the source HERE.
Report bugs HERE, or in this thread.
Read a blog post about it HERE, if you're really bored.
Edit: I've just fixed a bug affecting exports - once GitHub regenerates the page it should work fine.
-Angry Lawyer




