Platform
Resources
Pricing
Sign in
Get started
Fil
Vocateur.
Workspace
Fork
Published unlisted
By
Fil
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.
Try it for free
Learn more
Fork
View
Export
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
delay
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
fps
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
compute
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML