Commits on Jun 19, 2012
Commits on May 2, 2012
  1. Change amitp/as3delaunay submodule to point to nodename/as3delaunay.

    (nodename has merged the changes from amitp's branch)
    amitp committed May 2, 2012
Commits on May 1, 2012
Commits on Apr 30, 2012
  1. Added third-party libraries to the repository and added some document…

    …ation to the README about how to compile the project
    committed Apr 30, 2012
Commits on Mar 14, 2012
  1. Add a LICENSE file to clarify that the code is under the MIT open sou…

    …rce license.
    (This is in addition to each file stating that it's under the MIT license)
    amitp committed Mar 14, 2012
Commits on Sep 25, 2011
  1. Don't add lava to the map.

    For the web demo, lava doesn't seem to be very useful.
    amitp committed Sep 25, 2011
  2. Speed up XML export by a factor of 10.

    Instead of assembling into one large XML and then serializing, serialize into small strings and then assemble them together.
    amitp committed Sep 25, 2011
  3. Don't draw the ocean blue background all the way to the bottom of the…

    … display area; use the beige background instead.
    amitp committed Sep 25, 2011
  4. Different algorithm for road building: build a variant of a minimal s…

    …panning tree to connect all points with the highest elevation peak.
    amitp committed Sep 25, 2011
Commits on Jun 10, 2011
  1. Fix uses of PM_PRNG to work with the publicly available version inste…

    …ad of my version (which has a small change).
    amitp committed Jun 10, 2011
Commits on Jun 4, 2011
  1. Remove amitp.Debug() calls so that people can compile this code witho…

    …ut my private libraries.
    amitp committed Jun 4, 2011
Commits on Mar 5, 2011
  1. Fix bug with polygon export. Corners were being exported with the wro…

    …ng data. Thanks to Nima Farid for finding this bug.
    amitp committed Mar 5, 2011
Commits on Nov 21, 2010
Commits on Oct 9, 2010
Commits on Sep 22, 2010
  1. Add per-polygon watershed calculation, and render that instead of per…

    …-corner watersheds. This still isn't quite what I want from watersheds but it seems closer.
    amitp committed Sep 22, 2010
  2. Improve edge lengths by moving corners. Just as polygon sizes are imp…

    …roved by moving polygon centers (Lloyd relaxation), we can do the same for edges. After moving corners, we do not preserve Voronoi properties, but we don't need them for the maps.
    amitp committed Sep 22, 2010
Commits on Sep 8, 2010
  1. Refactor biome assignment into a static portion that can run on any C…

    …enter and an instance method that runs on all biomes of the current map.
    amitp committed Sep 8, 2010
Commits on Sep 6, 2010
  1. Move Debug area reset from to so that it doesn't wi…

    …pe out Debug messages from mapgen2.
    amitp committed Sep 6, 2010
  2. Fix bug in parsing shape variants from the UI input field. They had b…

    …een getting ignored.
    amitp committed Sep 6, 2010
  3. Tweak the biome distributions to be more even across moisture. Previo…

    …usly it was 0.1, 0.3, 0.5, 0.6, 0.8 (spacing was 1 2 2 1 2 2). Now it's 1/6 2/6 3/6 4/6 5/6, so the spacing is even.
    amitp committed Sep 6, 2010
  4. Fix up and to reflect Edge.river being an int, with…

    … 0 meaning "no river".
    amitp committed Sep 6, 2010
  5. Export polygon feature. It's slow, but it exports most of the polygon…

    … data to XML. It's missing watersheds, roads, lava, and noisy edge paths.
    amitp committed Sep 6, 2010
  6. Change Edge.river to be an int, since it counts the number of rivers …

    …flowing through and is never a non-integer. Previously, NaN meant no river; now 0 means no river.
    amitp committed Sep 6, 2010
Commits on Sep 5, 2010
  1. Rebalance moisture calculations. 1: Redistribute moisture values even…

    …ly across corners, so that the number of corners will each moisture level will be the same. This partially fixes the moisture assignment being tuned for 2000 polygons, and being too wet for smaller maps and too dry for larger maps. (There are still magic numbers in there that depend on scale but they are no longer critical to change to match map size.) 2: Moisture redistribution led to too many dry areas, so tuned the biome assignment to accept more dry areas as forest/grassland instead of desert.
    amitp committed Sep 5, 2010
  2. New simpler elevation redistribution algorithm skips the histogram bu…

    …ilding step and instead sorts all locations and directly computes the desired elevation for each point.
    amitp committed Sep 5, 2010
Commits on Sep 4, 2010
  1. Rename Center.edges to borders and Corner.edges to protrudes, to matc…

    …h the terminology in my grid article.
    amitp committed Sep 4, 2010