Indeks JS 1D ke 2d Coord
y = index / width;
x = index % width;
Old-fashioned Oyster
y = index / width;
x = index % width;
index = x + width * y;