... browser: 25 7Geolocation, Offline Web Apps, and Web StorageWe obtain our drawing context by calling the getContext method and passing it the string "2d", since we’ll be drawing in two ... that interests us.data contains information about the pixels in the ImageData object, in the form ofan array. Each pixel on the canvas will have four values in the data array—thesecorrespond ... keep calling the draw function over and overagain, without pause: the final parameter is the value for delay—or how long, in milliseconds, the browser should wait before calling the function. Because...