Materials & Lighting

Linework Overlay

What this shows

Lay colored linework over a scene for routes and annotations.

This example needs a Canvas2D-capable browser.

Loading scene…

Loading scene…

Key API excerpt

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

geometry.setColors(colors);
const lines = new EASEL.LineSegments(geometry, new EASEL.LineMaterial({ color: 0xffffff }));