3 ms·
I'm amazed at how fast this is.
by chrismcb 1y ago
I'm amazed at how fast this is.
- tehjoker 1y agoIt's like Google Maps. I didn't look under the cover but typically the way these things work is there's a resolution hierarchy and it loads bits dynamically as you zoom in. The zoom here is a bit slow (it doesn't let you slam into the painting at warp speed) so there is likely a bit of latency hiding as it loads high res tiles.
- londons_explore 1y agoThe trick to make it super fast is to predict where the user might be viewing 1 second from now. If an animation is in progress, that's an easy prediction. If the user is using a mouse, they'll generally scroll or pan but not both. If the user is on a touch screen, again the gestures are limited. When you have your predictions, you start loading the those things.