Platform
Resources
Pricing
Sign in
Get started
nullhook
Web engineer
Workspace
Fork
Published
Utils
By
nullhook
Edited
Nov 23, 2020
1 star
Insert cell
Insert cell
viewof
x
=
{
const
h
=
200
;
const
c
=
DOM
.
context2d
(
width
,
h
)
;
c
.
fillStyle
=
"black"
;
while
(
true
)
{
c
.
clearRect
(
0
,
0
,
width
,
h
)
;
c
.
font
=
"50px Times"
;
c
.
fillText
(
s
,
width
/
2
-
50
,
h
/
2
)
;
yield
c
.
canvas
;
}
}
Insert cell
Insert cell
{
// let s = '';
let
p
=
true
;
let
L
;
do
{
for
(
mutable
s
=
''
,
L
=
5
;
L
--
;
)
{
mutable
s
+=
String
.
fromCharCode
(
32
+
Math
.
random
(
)
*
94
)
;
}
try
{
eval
(
mutable
s
)
;
p
=
false
;
yield
mutable
s
;
}
catch
(
e
)
{
yield
'searching... '
+
mutable
s
;
}
}
while
(
p
)
;
}
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
x
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
s
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML