{
const context = DOM.context2d(width, 45);
context.font = "30px sans-serif";
context.textBaseline = "hanging";
do {
const v = 1000 * (1 / Math.random() - 1) * (Math.random() < 0.5 ? -1 : 1);
context.fillStyle = scaleDivergingGeneric(v);
context.fillRect(0, 0, width, 45);
context.fillStyle = "white";
context.fillText(`value = ${v.toFixed(2)}`, 10, 10);
yield context.canvas;
await Promises.tick(1000);
} while (1);
}