Is there a standard FOSS world generating library for use in video games? I.e., one that would generate the right kind of 2D and 3D noise, average it out according to parameters, apply "biome" tags to regions, create underground tunnels, etc.? These tasks are probably typical enough that most games need not reimplement them.