Screen Geometry

A p5 screen or canvas of typical size 400×400  represents a (x,y)-plane with a horizontal x-axis (left-right) and vertical y-axis (down) with integer coordinates x and y ranging from 0 to 400: Watch and play with this code: