Data & Export
Volume Slice Review
What this shows
Step through an NRRD slice while keeping its orientation visible.
Loading scene…Key API excerpt
Key API excerpt
import * as EASEL from "@xsyetopz/easel";
const volume = new EASEL.NRRDLoader().parse(nrrdText);
const texture = volume.toDataTexture("z", 0);
scene.add(new EASEL.Mesh(new EASEL.PlaneGeometry(2, 2), new EASEL.BasicMaterial({ map: texture })));