We can think of images as a coordinate system represented by a 2D array of pixels, where each index stores a color value.

Our origin point will align with our 0th index. We’ll be using the top left pixel as (0,0), but another common choice is the bottom left.

4 by 4 grid with a green dot in the top left square with arrows going down and right.

(Page 1)