Regular triangle shape, if you want to draw a random shape with 3 points, use Polygon instead.
npm install @pencil.js/triangle
import Triangle from "@pencil.js/triangle";
const radius = 99;
const options = {
fill: "blue"
};
const triangle = new Triangle(aPosition, radius, options);