Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Dwarf Heightmap ported to HTML5  (Read 8539 times)

Angry Lawyer

  • Bay Watcher
    • View Profile
    • Angry-Lawyer.com
Dwarf Heightmap ported to HTML5
« on: July 17, 2012, 02:14:56 pm »

Hi folks.

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
« Last Edit: July 17, 2012, 02:42:01 pm by Angry Lawyer »
Logged

PTTG??

  • Bay Watcher
  • Kringrus! Babak crulurg tingra!
    • View Profile
    • http://www.nowherepublishing.com
Re: Dwarf Heightmap ported to HTML5
« Reply #1 on: February 14, 2013, 09:02:47 pm »

Wow, nice. I never saw this the first time around, I've got to say it's a great tool, thanks!
Logged
A thousand million pool balls made from precious metals, covered in beef stock.

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Dwarf Heightmap ported to HTML5
« Reply #2 on: February 16, 2013, 02:06:29 pm »

Woah, this is something. It's really handy, thank you, and you can do crazy things with it :D.



Mom, welcome to df! Don't mind goblins settling on your shoulders! :D
« Last Edit: February 16, 2013, 02:08:58 pm by Deon »
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

BigD145

  • Bay Watcher
    • View Profile
Re: Dwarf Heightmap ported to HTML5
« Reply #3 on: February 16, 2013, 02:30:56 pm »

This is a scandalous map of a beardless dwarf that bristles with spikes of guitar.
Logged

Grax

  • Bay Watcher
  • The Only.
    • View Profile
Re: Dwarf Heightmap ported to HTML5
« Reply #4 on: February 28, 2013, 11:11:27 am »

This is a scandalous map of a beardless dwarf that bristles with spikes of guitar.
Male dwarves are bald-headed and have usual beards.
Female dwarves have beards all over head and bald chins.

The only possible explanation.
Logged
Finis sanctificat media.