JS 1D -Index zu 2D -Koord
y = index / width;
x = index % width;
Old-fashioned Oyster
y = index / width;
x = index % width;
index = x + width * y;