I created an equilateral triangle shape and converted it to a Bezier path. After discovering that the path had 6 points rather than the 3 I expected, I was able to craft this path expression to add tangent handles. Variable m sets the size of the tangents relative to the sides of the triangle. I hope it’s helpful:
pts = points();
p = [pts[0],pts[2],pts[4]]; // get rid of extra points
m = 1/5; // multiplier
iT = [];
oT = [];
iT[0] = (p[2]-p[1])*m;
iT[1] = (p[0] - p[2])*m;
iT[2] = (p[1] - p[0])*m;
oT[0] = -iT[0];
oT[1] = -iT[1];
oT[2] = -iT[2];
createPath(p,iT,oT,true);