Press 1, 2 or 3 to move that vertex of the triangle to your mouse the triangle is the blue thing the red lines are the 3 heights, one from each side the area is the area of the triangle in square scrath units click see inside to see the code, and other variables, like the sides lenght or the heights length
This is 100% by me, i didn't coppied the formula from anywhere, I found it myself using just the Pythagorean theorem, feel free to use, just input the vertexes and everything is calculated from them, you can delete any motion or pen blocks also, with a few variations to this, you can triangulate a point's position, I could work on it on my spare time