Notebooks 2.0 is here.

Published
Edited
Dec 14, 2021
Fork of Simple SVG
2 forks
2 stars
Insert cell
Insert cell
BJSViewerHtml = {
yield htl.html`<babylon scene.flags.use-right-handed-system='true' model.url=${model} model.loader='babylon'></babylon>`;
BJSViewer.InitTags('babylon');
// BJSViewer.viewerManager.onViewerAddedObservable.add( function (viewer) { //get the viewer
// //console.log(viewer);
// viewer.onModelLoadedObservable.add( async function() {
// viewer.sceneManager.scene = await BJSViewer.BABYLON.SceneLoader.LoadAsync('', model, viewer.engine,
// undefined, ".babylon");
// //console.log(viewer.sceneManager.scene);
// })});
}
Insert cell
model = "https://playground.babylonjs.com/scenes/Rabbit.babylon"
Insert cell
height = 200
Insert cell
BJSViewer = require("babylonjs-viewer@5.0.0-alpha.63")
Insert cell
BJSViewer.BABYLON.Scene
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