igal k
igal k

Reputation: 1934

how to translate mandelbrot's size to its zooming value

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!

Upvotes: 2

Views: 520

Answers (2)

cesoid
cesoid

Reputation: 1118

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)

>:(

Upvotes: 0

evil otto
evil otto

Reputation: 10582

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%.

Upvotes: 2

Related Questions