Community Tutorial: Ocean Simulation

I think the issue that I’m having is that in my logic the downsampled 32x32 grid is aligned to the 256x256 grid at (0, 0) based on the grid index. So, I’ve been looking at the WaveVector generated at (-128, -128) for the 256x256 case and comparing that to the WaveVector generated at (-16,-16) for the 32x32 case and assuming they should be the same. Looks like I’ll have to refactor my code so that the downsampled grids are centered on the original grids.

Thanks for your help.