Public
Edited
Nov 1, 2022
1 fork
4 stars
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
scene = {
let size = width < 600 ? width : 600;

yield html`<x3d width='${size}px' height='${size}px'>
<scene>
${viewpoint}
<navigationInfo speed="0"></navigationInfo>
<transform rotation="0.3 0.7 0 2">
<shape>
<appearance>
<material diffuseColor='1 1 1'></material>
<ImageTexture url=${image} />
</appearance>
<sphere radius=3 subdivision="48,48"> </sphere>
</shape>
</transform>
</scene>
</x3d>`;
x3dom.reload();
}
Insert cell
x3dom = require('x3dom').catch(() => window['x3dom'])
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