Categories
Uncategorized

Mandelbrot Set Explorer Update

If you decide to click on over to my Mandelbrot Set Explorer, it is functional now for desktop and mobile. Granted, on a phone, the image is not very big. It is responsive to touch, but not necessarily in the expected manner. I did not yet introduce the pinch-to-zoom that might be your first instinct. The basics are as follows:

Mouse and Screen Input – these redraw automatically.
Click or Tap to re-center.
Click (mouse) or Touch (touchscreen) and Drag to zoom.

For instance, clicking and dragging as shown here:

Full Mandelbrot Set

Gives this image as a zoom:

View after zooming

Button Inputs – these redraw after you click on the “Draw” button. The buttons are shown in the pictures above.
Count x2 : Doubles the Max Count, which is initializes at 1024.
Count /2 : Halves the Max Count.
Zoom -5 : Zooms out to 5 X the viewed radius.
Zoom +5 : Zooms in by 5 X.
Col Sh 10 : A given color scheme has 256 colors. This shifts the scheme by
10 counts in one direction.
Col Sh -1 : This shifts the color by 1 in the opposite direction.
Min +10 : This adjusts a minimum count +10, initially set to zero, below
which areas are blacked out.
Min -1 : This reduces the minimum count by 1.
Btn09 : Reserved for future feature.
Btn10 : Reserved for future feature.
BW : Black / White / Gray scale Color Scheme
Rand : Random Color Scheme
RWB : Red White and Blue Color Scheme
ROYGBIV : (Default) Rainbow Color Scheme
Draw : Redraw with changes.

I added the Draw button rather than automatically redrawing after each change in order to speed up overall viewing. This matters on my laptop, a state-of-the-art HP 15″ Walmart special (literally). On my iPhone or iPad it is fast enough that this is not necessary. So you can, for example, shift colors by 30 by clicking “Col Sh 10” three times and then redrawing.

If you have any suggestions, please let me know at pax.plastica@gmail.com.

My intended purpose of this project was to learn a bit about JavaScript. I think I have done that, though I still have a lot to learn.

Thank you for reading,

Pax.