Platform
Resources
Pricing
Sign in
Get started
Andrew Wooldridge
📜JavaScript developer. 🐲RPG fan. 📚Storyteller and 🕹game developer. 👨Father and Husband.
Workspace
Fork
Published
API
By
Andrew Wooldridge
Edited
Sep 15, 2021
2 stars
Insert cell
Insert cell
Insert cell
Starback
=
require
(
'starback@1.0.2/dist/starback.js'
)
Insert cell
{
const
cnv
=
html
`<canvas></canvas>`
;
yield
cnv
;
const
starback
=
new
Starback
(
cnv
,
{
width
:
1000
,
height
:
500
,
speed
:
5
,
spread
:
0.2
,
// ...and the other options
}
)
starback
.
generateStar
(
20
)
}
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
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Starback
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML