Published
Edited
Jun 4, 2022
20 forks
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
THREE = {
const THREE = (window.THREE = await require("three@0.141"));
await require("three@0.141/examples/js/controls/OrbitControls.js").catch(
() => {}
);
return THREE;
}
Insert cell
Insert cell
sceneJSON = jsonFile
? jsonFile.json()
: FileAttachment("sierpinski3d@2.json").json()
Insert cell
loadedScene = {
const loader = new THREE.ObjectLoader();
return loader.parse(sceneJSON);
}
Insert cell
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.
Learn more