Interaction Tools

Point Selection

What this shows

Pick a point in a dense measurement cloud.

This example needs a Canvas2D-capable browser.

Loading scene…

Loading scene…

Key API excerpt

import * as EASEL from "@xsyetopz/easel";

raycaster.pointsThreshold = 0.14;
raycaster.setFromCamera(pointer, camera);
const hit = raycaster.intersectObject(points, false)[0];
colors.setXYZ(hit.index, 1, 0.86, 0.28);