Published
Edited
Dec 23, 2020
Insert cell
Insert cell
Insert cell
selectedDay = {
let i = -1;
while (i < maxDays) {
yield ++i;
await Promises.delay(500);
}
gif.render();
}
Insert cell
gif = new GIF({dither: "FalseFloydSteinberg-serpentine"})
Insert cell
gif.addFrame(map_by_muni.childNodes[0], {copy: true, delay: 500});
Insert cell
renderedGif = {
const g = new Promise(resolve => gif.on("finished", resolve));
yield g;
/*gif.on('finished', function(blob) {
yield blob;
});*/
}
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more