Geometry & Paths

Convex Collision Hull

What this shows

Wrap authored points in a convex hull for collision setup.

This example needs a Canvas2D-capable browser.

Loading scene…

Loading scene…

Key API excerpt

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

const geometry = new EASEL.ConvexGeometry(points);
const mesh = new EASEL.Mesh(geometry, material);