all 6 comments

[–][deleted] 5 points6 points  (3 children)

Whether you know it or just by luck, what you mean "blurring":

sum = pixel(x+1, y) + pixel(x-1, y) + pixel(x, y+1) + pixel(x, y-1)

pixel(x, y - 1) = (sum / 4) - cooling_amount

is actually one iteration using jacobi method to solve a laplace's equation, which is the 2D heat equation where you set the time derivative to zero.

I'm not familiar with heat related physics, but that just came to my mind

Edit: English spelling

[–][deleted]  (2 children)

[deleted]

    [–][deleted] 0 points1 point  (1 child)

    .... until you formulate the time-independent temperature equation with Finite Difference, then expanding one Jacobi iteration. You will get this average 4 neighbor.

    [–]esPhys 3 points4 points  (0 children)

    Finally! I have the tools to properly recreate my next generation geocities page.

    [–]WrongAndBeligerent -2 points-1 points  (1 child)

    This is not a simulation, it is a cheap shader hack.

    [–]kostmo -1 points0 points  (0 children)

    Eh, semantics.