-
Notifications
You must be signed in to change notification settings - Fork 38
don't permanently crossfade patterns #236
Comments
It would be great if patterns were crossfaded the way labels are instead of making the fade relative to zoom level. For example, as soon as z > 2, start fading to the new pattern scale. If necessary, add the equivalent to |
This sounds good to me. |
The one upside of zoom-based crossfading, is that any change to the pattern begins and ends with the user's explicit zooming action. The tradeoff with using time-based fading, is a split-second of pattern shifting after the user has finished zooming. If this transition is long it'll feel like a lag; if it's short, it'll feel like a very sudden jump. |
Labels are faded as you hit specific zoom levels, not after. |
I think this would be more distracting. What I meant was fading only during a timed transition after crossing a boundary where the scale is reset. For example: start zooming |
@edenh explained it to me via chat as well 👍 sounds good |
Are there spec-side changes required for this or is it purely a renderer change? |
No spec changes necessary. Implemented: |
This is how patterns currently look:
z15

z15.5

z16

At fractional zooms, the pattern is permanently crossfaded. The waves in the z15.5 image aren't clear.
Would it be better to not permanently fade and just show one scale?
For comparison, z15.5 without permanent crossfading looks like this:
Whenever a zoom boundary is crossed (from 15.99 to 16) the scale resets to avoid infinitely scaling. We could use timed transitions to make those smooth.
@nickidlugash @edenh @peterqliu
The text was updated successfully, but these errors were encountered: