Simple heat distribution sim test.
Each tile is set to a semi-random heat value, and each tick each tile will set it's the next heat value to the mean heat of itself and all 8 tiles around it.
The simulation makes heavy use of multi-threading together with inlined lambdas to ensure that it runs as efficiently as possible.
The map is a 1024x1024 grid giving over 1M total tiles.
In this example the simulation is run at 10 tickers per second to make it easier to watch but it ran at 60 ticks per second on my oct-core Ryzen 7 without issue.
The strange screen-grid effect that zooms in/out is an unrelated issue due to my unfinished 2d tile renderer implementation.
![](https://s2.save4k.ru/pic/805PdG0Y2Uo/maxresdefault.jpg)