Question

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!

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top