Published
Edited
Nov 28, 2020
2 forks
Importers
Insert cell
Insert cell
Insert cell
cameraSCs = createSCs(cameraObject)
Insert cell
cameraObject = loadObjObject(camera_url)
Insert cell
camera_url = await FileAttachment("video_camera.obj").url()
Insert cell
flamingoObject = loadGLTFobject(Flamingo_url);
Insert cell
Flamingo_url = await FileAttachment("Flamingo.glb").url()
Insert cell
Insert cell
Insert cell
Insert cell
elfSCs = createSCs(elfObject )
Insert cell
Insert cell
elf_url = "https://raw.githubusercontent.com/mrdoob/three.js/dev/examples/models/collada/elf/elf.dae"
Insert cell
arterySCs = createSCs(arteryObject)
Insert cell
arteryObject = loadSTLobject(artery_url)
Insert cell
artery_url = await FileAttachment("artery-model2.stl").url()
Insert cell
Insert cell
loadTDSObject = (url)=> loadObject(url, new THREE.TDSLoader())
Insert cell
Insert cell
Insert cell
loadSTLobject = (url)=> loadObject(url, new THREE.STLLoader())
Insert cell
loadGLTFobject = (url)=> loadObject(url, new THREE.GLTFLoader())
Insert cell
Insert cell
computeMatrix(arteryObject)
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
import {array2Darray} from "@spattana/general-obj2sc"
Insert cell
Insert cell
Insert cell
Insert cell
d3 = require("d3@5")
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