Geometry & Paths

Curve Editor

What this shows

Move path control points and preview the resulting curve.

This example needs a Canvas2D-capable browser.

Loading scene…

Loading scene…

Key API excerpt

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

points[selected].set(pointer.x, pointer.y, 0);
path.points = points;
tube.geometry = new EASEL.TubeGeometry(path, 36, 0.2, 8);