Hi,

I’m playing around with a water demo.

I’ve got a simple grid (25 by 25).

Here I update my grid with surrounding values

temp = (( s_array[i1-1][j1 + 1][2]

+ s_array[i1-1][j1 - 1][2]

+ s_array[i1 + 1][j1 + 1][2]

+ s_array[i1 + 1][j1- 1][2]) / 4) -s_arrayOld[i1][j1][2];

```
temp = temp - (temp / 16);
s_array[i1][j1][2] = temp;
//Then Swap grids
for(int i = 0; i < 25; i++) {
for(int j = 0; j < 25; j++) {
s_array2[i][j][2] = s_array[i][j][2];
}
}
```

The only problem is, the ripples are square? For the life of me I cannot get circular ripples. I tried adding in the diagonal values around each point, but that didn’t do it either…Any of you have any insight in a way I can get a more circular ripple?

Thanks