← Back to team overview

kicad-developers team mailing list archive

Re: New zoom code musings.


My array seems to work. We came from powers of two. I don't know why
that is important. sqrt(2) is a fractional power of two, not a true
integral power of two. So this is an overly theoretical goal.

You'll see:
1. 1
2. sqrt(2) 1.41
3. sqrt(2)*sqrt(2) 2
4. sqrt(2)*sqrt(2)*sqrt(2) 2.82
5. sqrt(2)*sqrt(2)*sqrt(2)*sqrt(2) 4

Not mention area doubles on every step and zoom factor is exactly the same every time (smooth zoom) and keeps half/doulbe scale along. What makes that overly theoretical?


Follow ups