SUNDIAL TILE ZOOM a Developing Today project

TILE ZOOM

A raster basemap is zoomed across a tile level, out and in, over test tiles that paint each level one solid colour on a magenta ground. Every presented frame is read back and set against the frame before it: ground that showed imagery may not go bare, and may not fall to a level coarser than both the zoom's start and end where it showed a finer one. A zoom-out over ground the next level has not reached yet may not go bare at its edge either: it draws the coarse tiles the view kept.

Drives
e2e/tile-zoom.spec.ts, through window.__renderCase(id)
Stages
solid test tiles over Sioux Falls: z13 brown, z18 green, z19 red, the ground magenta; a second map beneath the stage decodes the zoom-out's destination first, or loads more tiles elsewhere than the bitmap cache holds
Reads
gl.readPixels inside every render event, each sample classed by level and compared with the frame before in world space

not run yet

Cases

Case log