Published
Edited
Feb 20, 2021
Insert cell
Insert cell
Insert cell
Insert cell
{
let mesh = scene.querySelector("three-mesh");
//let clicked = false;
mesh.addEventListener("click",()=>{
console.log("hi")
mutable clicked = Math.floor(Math.random() * 10000);
})
yield clicked
}
Insert cell
import('https://unpkg.com/three-elements@0.3.0/dist/index.esm.js?module')
Insert cell
mutable clicked = Math.floor(Math.random() * 10000)
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