This code uses nested for
loops to loop over every pixel in the window. For each pixel, it creates a color based on that pixel’s distance from the corners, and then draws the pixel in that color. This creates a corner gradient.
This is a companion discussion topic for the original entry at https://happycoding.io/examples/processing/for-loops/corner-gradient