How can i create a information visualization using triangle projection?

Hi

i am working on information visualization, which use triangle projection to do it, that get n points from a higher dimensional space to a 2 dimensional space. i need to project points from an object and plot the n points in 2D.

First, need to select a point to project and put it on the origin, and then put the 2nd point the right distance away from the 1st point.

Second, calculate the 3rd point using the 1st and 2nd points, which form a triangle. For the remaining points, i need to pick 2 projected points and form a triangle with the remaining points.

can anyone please help? i really don't know how to start it.

Thank you