Plotting pixels in JavaScript

HTML5:
<CANVAS id="theCanvas" height="240" width="360"> </CANVAS>
yields ...
 
and Javascript:
canvas.getContext('2d'), context.getImageData(,,,), imageData.data, context.putImageData(,,),
used in the plotting (view source).
L.A. 8/2013 & 3/2016, after A.J.Baker 12/2011.