@lisyarus@mastodon.gamedev.place
Post #2342295
2026-04-26 22:14 UTC
@johncarlosbaez@mathstodon.xyz The problem is that I'm not making a planetary simulation, I'm making a game :) I need variation and unexpected things much more than I need physical correctness, and things looking just believable enough are fine.
I've played a lot with various options of simulating/generating wind, and the best one is to simply generate a random div-free vector field.
Replies (2)
-
@johncarlosbaez@mathstodon.xyz 2026-04-26 23:59
@lisyarus@mastodon.gamedev.place - yes, I figured. I would have been unable to resist adding a constant drift in one direction, so weather tends to do what it does here on Earth. But I don't make games!
-
@TomL@mathstodon.xyz 2026-04-27 02:53
@lisyarus@mastodon.gamedev.place @johncarlosbaez@mathstodon.xyz There's a pretty nice trick for cheap Euler fluid dynamics solutions in 2D using the contour tangent of various scalar fields. I did a post about it: https://tglad.blogspot.com/2019/12/2d-eddie-currents.html