Geometry Lesson Github Io ((install)) Jun 2026

function incenter(x1,y1,x2,y2,x3,y3) let a = dist(x2,y2,x3,y3); let b = dist(x1,y1,x3,y3); let c = dist(x1,y1,x2,y2); let px = (a x1 + b x2 + c x3)/(a+b+c); let py = (a y1 + b y2 + c y3)/(a+b+c); return createVector(px, py);

If you find a lesson you love but want to change the numbers or the language, you can "fork" the project on GitHub and host your own version. geometry lesson github io

Dragging vertices to see how the area of a triangle changes. y3) let a = dist(x2