how to translate mandelbrot's size to its zooming value

463 Views Asked by At

my mandelbrot set is defined in a XY world as a rectangular shape,
meaning at any given time i know its most bottom left and upper right corners. is there any way to know what is the total zooming percentage value from the original size by the size of the rectangle?
Thank, igal!

2

There are 2 best solutions below

4
On BEST ANSWER

100*(100% size)/(current size)

This is basic math. If your "100%" box is -2..2 (real), then it has size=4; if your current view is -1..1 then it has size=2, so your zoom % = 100*(base size)/(current size) = 200%.

0
On

One useful interpretation of this question is: What (if any) is the common definition of "zoom" when viewing the Mandelbrot set?

So far, I have three examples with three different ways of specifying zoom:

https://mandelbrot.ophir.dev zoom = [pixels per fractal space]

https://mandel.gart.nz zoom = 2 * [pixels per fractal space]

http://mandelset.ru scale = [view height in fractal space] / 2 (smaller is more zoomed in)

>:(