Move your mouse around. If it is inside the triangle, the triangle will be blue, and if not, red.
This project works with heron's formula. It uses it to find the area of the total triangle, then to find the areas of three smaller triangles in relation to the mouse pointer. Finally, it adds the area of the 3 small triangles, and if that equals the larger area, then the mouse is inside the triangle!