Platform
Resources
Pricing
Sign in
Get started
Seph Gentle
Workspace
Fork
Published
By
Seph Gentle
Edited
Nov 18, 2018
5 forks
6 stars
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
paths
=
{
const
paths
=
[
]
for
(
let
i
=
start
;
i
<
start
+
num
;
i
++
)
{
const
left
=
[
Math
.
sin
(
i
/
50
)
*
500
,
Math
.
sin
(
i
/
50
+
a
*
10
)
*
300
]
const
right
=
[
Math
.
cos
(
i
/
50
)
*
500
,
Math
.
sin
(
i
/
35
-
b
*
10
)
*
300
]
paths
.
push
(
[
left
,
right
]
)
}
return
paths
}
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
chart
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
a
Edit
Pin
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
b
Edit
Pin
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
start
Edit
Pin
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
num
Edit
Pin
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
step
Edit
Pin
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
paths
Unpin
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
JavaScript
Markdown
HTML