Pixel array 1D indexing formula
Processing exposes the screen or an image's pixels as one flat 1D color array; the pixel at (x,y) is found by computing the offset x + y*width.
What it is
How it works
Parameters & tuning
Where it’s been used
Variants & neighbours
Go deeper
Connected to
Contrast with: Kernel convolutions · Pixel-sampled point rendering