Rune Skovbo Johansenrunevision@mastodon.gamedev.place
Oct 23, 2026, 8:43 PMNow, my deformation is order independent and requires several running sums per grid cell in order to calculate various weighted averages from contributing path segments. Just a few variables when the outer loops are over the grid cells. I think that's why I kept it that way for so long.
Moving grid cell iteration to be the inner loop necessitated several new temporary 2d arrays to keep all the sums in play simultaneously. Which feels heavy, but is ultimately the way faster approach.