viewof t2 = thumbnails({
value: 5.72,
min: -2,
max: 10,
step: 0.1,
width: 600,
zoomRange: [3.7, 5.3],
zoomTranslateExtent: [-5, 11],
zoomScaleExtent: [100, 10000],
zoomDisabled: false,
frameAt: t => {
const ctx = DOM.context2d(160, 90);
ctx.font = '48px sans-serif';
ctx.textAlign = 'center';
ctx.fillStyle = `limegreen`;
ctx.fillRect(0, 0, 160, 90);
ctx.fillStyle = 'white';
ctx.fillText(Math.floor(t), 80, 60);
return ctx.canvas;
},
aspectRatio: 16 / 9
})