Published
Edited
Mar 25, 2022
Hello, RDKit!
Exploring 3D Chemical Models in VR
Also listed in…
Cheminformatics
Tools
Insert cell
Insert cell
Insert cell
Insert cell
viewof molecule = PubChemToAframeView(name)
Insert cell
molecule
Insert cell
Insert cell
Insert cell
import {PubChemToAframe} with {name} from "@mdeagen/pubchem-api-aframe"
Insert cell
Insert cell
aframe = require("https://aframe.io/releases/1.2.0/aframe.min.js")
Insert cell
Insert cell
async function PubChemToAframeView (x) {
let aframe = await PubChemToAframe(x);
let elem = html`${aframe}`;
elem.value = aframe == empty? "not found": x;
return elem;
}
Insert cell
empty = PubChemToAframe("")
Insert cell
params = new URL(document.baseURI).searchParams
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