Platform
Resources
Pricing
Sign in
Contact us
drio
Builder of things.
Workspace
Fork
Published
By
drio
Edited
Sep 11, 2021
Importers
Insert cell
md
`# Drio utils`
Insert cell
frameRate
=
{
let
o
=
{
}
,
n
=
{
c
:
0
}
;
while
(
true
)
{
yield
md
`### ${
o
.
c
} frames/sec ${
o
.
c
<
30
?
"🔴"
:
"🟢"
}`
;
n
=
{
s
:
~
~
(
Date
.
now
(
)
/
1000
)
,
c
:
n
.
c
+
1
}
;
o
.
s
!=
n
.
s
&&
(
(
o
=
{
...
n
}
)
,
(
n
.
c
=
0
)
)
;
}
}
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
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
frameRate
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML