Data & Export

Volume Slice Review

What this shows

Step through an NRRD slice while keeping its orientation visible.

This example needs a Canvas2D-capable browser.

Loading scene…

Loading scene…

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 })));