PDA

View Full Version : Work in progress - hexworld generator



isomage
08-17-2010, 11:47 PM
I've begun working on an icosahedral planetary random hex map generator. So far I have a simple prototype, showing only land and sea areas, but eventually I hope to use Thorfinn Tait's Mystara tiles and have realistic climate zones. The program actually outputs .SVG files, but these have been converted to .PNG for the web; hopefully in the end you'll be able to edit the maps in Inkscape or Illustrator.

Here's the same planet generated at a range of different hex scales:


http://axiscity.hexamon.net/users/isomage/hexworld/temp/map0.png

http://axiscity.hexamon.net/users/isomage/hexworld/temp/map1.png

http://axiscity.hexamon.net/users/isomage/hexworld/temp/map2.png

http://axiscity.hexamon.net/users/isomage/hexworld/temp/map3.png

http://axiscity.hexamon.net/users/isomage/hexworld/temp/map4.png

http://axiscity.hexamon.net/users/isomage/hexworld/temp/map5.png

tilt
08-18-2010, 08:01 AM
very nice... the last map shows really cool contours - nice to the the changes from map to map. Looking forward to seing more types of tiles :)

Steel General
08-18-2010, 09:34 AM
Neat idea...yet one more thing to keep an eye on :)

Jaxilon
08-18-2010, 04:17 PM
Oh yeah, these take me back to making planets for Gurps. I hope to see and hear more of this.

isomage
08-18-2010, 11:57 PM
Here are ten random results from my first mountain test. I think there's some good there, and some not-so-good. Without modeling plate tectonics we have no guarantee that mountains will always be realistic, so the question is: are they "good enough"? Does every world need to be a winner, or might typical usage involve generating a few worlds and seeing which one you like best? Program parameters could include how clumped-together the landmasses are, how frequent and how large the mountain ranges are, what the sea level is, and so on, so people would be able to tune the output.

http://axiscity.hexamon.net/users/isomage/hexworld/temp/map10.png

http://axiscity.hexamon.net/users/isomage/hexworld/temp/map11.png

http://axiscity.hexamon.net/users/isomage/hexworld/temp/map12.png

http://axiscity.hexamon.net/users/isomage/hexworld/temp/map13.png

http://axiscity.hexamon.net/users/isomage/hexworld/temp/map14.png

http://axiscity.hexamon.net/users/isomage/hexworld/temp/map15.png

http://axiscity.hexamon.net/users/isomage/hexworld/temp/map16.png

http://axiscity.hexamon.net/users/isomage/hexworld/temp/map17.png

http://axiscity.hexamon.net/users/isomage/hexworld/temp/map18.png

http://axiscity.hexamon.net/users/isomage/hexworld/temp/map19.png

tilt
08-19-2010, 02:30 AM
They work fine in my opinion - but then again I have a casual look on world building - but I'm guessing, if you don't think it looks good, you just generate a new world :)

icosahedron
08-19-2010, 03:25 AM
This looks great, Isomage. I'm not a nitpicker - if it looks reasonable, it'll do for me.
I know nothing about programming, so apologies if this is a silly question, but is it possible to have the 'land/sea' and 'mountains' on different 'layers', so that you don't have to scrap a really good landmass layout just because its mountains look crappy? It would be good to retain a coastline layout and then keep generating mountains for it until you get a good fit.

Jaxilon
08-19-2010, 03:37 AM
These can be wrapped to a globe can't they? I mean these types of maps not these ones specifically.

I'm with the guys too, if it's not what you want, just regen a new one. Do the settings take into consideration things like Gravity, atmosphere and all that kind of stuff?

isomage
08-19-2010, 06:43 AM
Just some quick answers...

Gravity, atmosphere, etc.: I think my aim, initially, at least, will be to make Earth-like worlds and possibly also exaggerated sci-fi types of worlds based on climate zones like desert or snow or jungle planets.

Wrapping around a globe: These would be perfect for wrapping around an icosahedron, but the program could be tweaked to generate spherical data and probably a suitable 2D projection for that too.

Layers: Probably not; it'll just be one run, one planet.

Ramah
08-19-2010, 07:18 AM
This is looking really great. No real comment other than to say keep doing what you're doing.

One of the things I love about this site is that people are willing to put the work in to create stuff like this to share with the community. Consider yourself repped and allow yourself to feel all warm and fuzzy.