Interactive Mandelbrot Set (JS/HTML Canvas)

Click to re-center; double-click to zoom in; use buttons under canvas to zoom or reset view.
640x480 Canvas for rendering Mandelbrot Set
Move the mouse in the canvas to show (x, y) here.
Jeffrey S. Miller, March 2018, updated Oct 2023
Thanks/Credit to JS and Canvas tutorials and docs on https://developer.mozilla.org/!