Published unlisted
Edited
Jul 5, 2018
1 star
Insert cell
Insert cell
Insert cell
Insert cell
compute = {
mutable fps = 60;
var fpsTime = performance.now();
while (true) {
await Promises.delay(delay);
mutable fps =
(1 + mutable fps) *
(1 + 0.000984 * (fpsTime - (fpsTime = performance.now())));
yield Date.now() % 1000;
}
}
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