import
{
interval
}
from
"rxjs"
;
import
{
map
,
take
}
from
"rxjs/operators"
;
const
bezier_stream
=
interval
(
350
)
.
pipe
(
take
(
25
)
,
map
(
bezier
)
,
map
(
num
=>
"~"
.
repeat
(
Math
.
floor
(
num
*
65
)
)
)
)
;
view raw
composability-example01.js
hosted with ❤ by
GitHub