Hacker News new | ask | show | jobs
by chrismorgan 13 hours ago
I find zooming on this world capitals one to be quite slow for some reason, mostly well below 10fps, and it’s rendering all frames rather than skipping to keep up (the wrong decision, I reckon). Panning is excellent; and zooming is fine on /maps/voronoi/, which has only a dozen or so points, which I guess must be few enough not to slow it down. I’m curious what’s going on, but not enough to delve into the code myself.

Actually, even /maps/voronoi/ lags if you zoom in really far, and in a way that can break the scroll capture—I presume the code is non-passively watching scroll events and calling preventDefault(), but once it’s lagging hard enough the browser takes matters into its own hands and says you didn’t act fast enough.