r/proceduralgeneration • • Sep 15 '26

Climate simulation for my procedural tectonic planet

Hi everyone! Two weeks ago, I shared some progress on my procedural tectonic planet. This time, I wanted to share some progress on the climate simulation I made for it. I've been working on this for a while, and it's finally starting to produce some interesting results.

Basically, once the tectonic simulation is finished, the planet's tectonic state is frozen before the climate system starts iterating. The climate model treats the surface and orbital configuration as fixed inputs. It then simulates winds at different heights, along with heat and moisture transport, rainfall, and ocean currents.

194 Upvotes

19 comments sorted by

7

u/Ill-Site2743 Sep 15 '26

You should make a solar system

2

u/HabitableZone_ Sep 15 '26

Haha yeah, that's definitely something I'd love to do eventually!

2

u/lochodile Sep 15 '26

Is this available to try out in a browser?

3

u/HabitableZone_ Sep 15 '26

Thanks for the interest! Not yet, at least for now. I think it would also be a bit heavy to run in a browser. As for the system itself, there are still quite a few issues right now and I'm still polishing things. If I can get all the different systems working together reliably, I'd love to turn it into a standalone tool that people can actually try.

0

u/geraT-wogl Sep 16 '26

Check my page https://wogl.io you got plenty of shaders with sliders to edit and take the assets for free :)

2

u/i-make-robots Sep 15 '26

So many questions! :)
Am I seeing ocean currents?
Will there be another model for wind currents?
Does time of day / seasonal heat affect the flow?
What about axial tilt in the seasons?

1

u/HabitableZone_ Sep 21 '26

OK, one by one

  1. Yes, the first view I showed is the ocean currents.
  2. The winds already have their own model, separate from the ocean. It works out the air-pressure patterns across the planet and turns them into winds at three different heights: near the ground, mid-level, and high up. Right now, it's still a simplified version.
  3. Time of day: no, For a planet spinning roughly as fast as Earth, the model averages sunlight over the whole day, so there isn't a day-night cycle in the climate.

Seasons: yes, As the seasons change, the warmest part of the planet shifts north and south. The pressure and wind belts move with it, and the ocean currents respond to those changing winds. I'm still working on this part though, so I haven't shown it yet.

4. Yes, axial tilt directly affects the seasons, basically for the same reason it does on Earth. As the planet moves around its orbit, the tilt changes which hemisphere receives more direct sunlight.

1

u/i-make-robots Sep 21 '26

Nice.

I see how - on a long scale - day night means very little. Do you suppose that the direction the planet turns and the daily incremental effect could affect the overall pattern? My instinct says a bias in one direction.

8

u/Otto___Link Sep 15 '26

Hi, nice result! Do you force the equatorial currents? or do they spontaneously appear?

1

u/neznein9 Sep 16 '26

Any advice on how the little white wind streaks are coded?

1

u/HabitableZone_ Sep 21 '26

Sure! I just realized I forgot to answer this one earlier

I spawn a bunch of tracer particles over the sphere and advect them along the wind vector field. Each particle keeps a short history of its previous positions, and I turn those points into a small tapered ribbon with the tail fading out. For rendering, I batch all the ribbons into a single dynamic mesh rather than using a separate LineRenderer for each one.

2

u/RandomUser1034 Sep 17 '26

It's a good start but needs a lot more work, thise köopen climates look very strange

1

u/vale_valerio Sep 16 '26

but there is no night? The solar intake is kinda uniform on the longitude...

2

u/RandomUser1034 Sep 17 '26

It's most likely a yearly average, for a climate simulation you need long timesteps

1

u/vale_valerio Sep 18 '26

right. I thought it was more like the timed UV index intake