Triangle distortion to 3D translation

In Progress Posted 7 years ago Paid on delivery
In Progress Paid on delivery

Problem:

Given a reference frame of three two dimensional points forming a non-equalital triangle, provide an approximation of the 3D triangular face translation over time. It can be assumed that there is no scaling (neither uniform or otherwise) on the triangular face. At the reference frame, the triangular face's centriod normal is pointing at the “camera”. The points of the triangle are consistently indexed over time, i.e. point A is an array of 2D positions over time, likewise with points B and C.

Requirements:

Trace the following per time/array step -

1) 3D Position of Centroid of triangle.

2) Rotation offset of face normal (preferably as XYZ Euler)

The solution must be in JAVASCRIPT.

Assumptions that can assumed:

- The field of view is fixed, a bonus $5 will be given if this is controllable as a variable.

- No scaling on triangular face.

- The triangular face's normal doesn't ever get further than 90 degree from the initial reference frame (i.e. it doesn't face away from the camera).

To assist in a clear understanding of the requirements of the project, we have created a video that visually illustrates the task required.

To be clear we are NOT after any graphical HTML development, this is purely a mathematical / coding requirement.

JavaScript Mathematics

Project ID: #12976125

About the project

8 proposals Remote project Active 7 years ago