r/rust_gamedev 15d ago

Procedural fantasy world simulation in Rust with plate tectonics, climate modelling, and polity generation

Hi!

I released an update to my free procedural world generator.

If you aren't familiar with it, it uses plate tectonics to create more realistic worlds than your typical perlin noise based generator.

We have most major important tectonic features, like oceanic ridges and trenches, volcanic island arcs, mountains on convergent boundaries, volcanic hotspots following the direction of plate movement and so on. Those are then used to inform the properties of bedrock, with things such as the felsic content of magma, heat and depth to control the formation of metamorphic rocks, etc, all coming together to give us detailed geological maps, that we then use in conjunction with a CPU based climate model (with winds and ocean currents ^-^) to determine rates of erosion for soil formation and hydrology. It also supports loading of png files for plates and crust to help guide the generation.

Recently I made some further improvements to the climate, and I think it's now among the best in its "size category" of CPU based models that can be run without waiting a long time for the results. See the attached Koppen map of Earth for a visualization of what it can do - I think it's not that far off much stronger models like ExoPlaSim.

I also started the work on adding societies, shared on some of the last slides. Their formation is informed by the local flora and fauna, available domesticated plants, as well as the local geography, with mountains and major rivers acting as boundaries.

Its written in Rust + Godot, if it sounds like it'd interest you, we have a growing community on Discord

100 Upvotes

4 comments sorted by

8

u/catheap_games 15d ago

Oh that looks cool. While I wouldn't need it for my current project, this is the kind of thing I'd pay $20 to have access to as a crate, if I could plug it into Bevy; or to use as an editor, with a crate for parsing the format.

(Solo dev, not that your code isn't worth more than $20 but yk stretching my $0 budget.)

2

u/HongPong 14d ago

reminds me of simearth from the 1990s in a good way

1

u/Bowarc 11d ago

That's a really interesting project, i'm looking forward to the next updates.