Coordinates are divided by track width and row height into integer column/row indices, clamped at the edges.

sky
sea
forest
desert
snowfield
volcano

col 0 · row 0→ idx 0