Drawing Voronoi with two.js | Fil | Observable
ojs
ojs
ojs
Author
Fil
@fil
Vocateur.
Comments (1)
Joshua Byrd
Sep 26, 2022
Since two.js switched to es6 module export it seems we need to use dynamic imports like this `Two = (await import("
https://cdn.skypack.dev/two.js@0.7
")).default` eg.
https://observablehq.com/@phocks/two-js-starfield-experiment#Two
Reply
Add comment
Subscribe to notifications
© 2026 Observable, Inc.
Terms of service
Privacy policy
Product
About
Pricing
Documentation
Release notes
Contact us
Open source
Notebook Kit
Plot
D3
Community
Explore
Forum
Bluesky
YouTube
X
3
Follow
Follow
Drawing Voronoi with two.js | Fil | Observable