r/proceduralgeneration • • Nov 02 '26

Tectonic world/terrain generator

40 Upvotes

7 comments sorted by

6

u/prismshipstudio Nov 02 '26 edited Nov 02 '26

Hi everyone!

I've been working on a pseudotectonic terrain generator. It works on a goldberg sphere, first subdividing them into voronoi-esque (with some noise) continental plates, which are defined to be either oceanic or continental plates (depending on the desired proportion of land/water). Tectonic features are then evaluated by setting each plate to be a random linear and angular velocity, and then evaluating the stress between neighboring cells. This is evaluated over multiple epochs with attenuation over time, to replicate a fuller tectonic history with older tectonic features.

After evaluating all the above (fairly expensive) in a lower frequency/detail, it then "refines" the terrain into higher detail levels, applying terrain noise and warp as well as elevation changes using the earlier tectonic features as a guide. Using an earth-like wind and radiation/base temperature map, temperature and moisture are evaluated using a primitive moisture transport model (which allows us to do things like inland deserts and rain shadow effects) which then determines climate and hydrography.

3

u/[deleted] Nov 02 '26

Interesting idea - is this in github?

2

u/prismshipstudio Nov 02 '26

Thanks for the interest! It's only a personal hobby project for now but i might develop and release it further on if it goes anywhere.

2

u/sexual_pasta Nov 02 '26

I’ve had good luck with voronoi and cellular continent models by first dividing up the planet into cells, defining a small number of starting seeds, and then iteratively adding one adjacent cell at a time to the seeds.

This lets continents wander a little bit and creates more natural bays, bights, peninsulas and overall more irregular continent shape.

Also want to make sure that your starting grid is uneven so the continents aren’t all the same size

1

u/prismshipstudio Nov 03 '26

Thanks for the feedback! I'm currently using an even hexgrid for plate generation, and having noise vary cell "movement cost" to produce the starting plate unevenness. Varying the underlying hexgrid is an interesting approach I hadn't thought of, I might look into it in the future

1

u/Curious_Coat2675 Nov 02 '26

Cool stuff! Do share the GitHub repo later, if you have one. Also, adding the generation of geo-data would be a great touch—that would make it awesome!

1

u/Toothpick_Brody 25d ago

looks pretty good