Create a mathematical formula to be used in a simulation.....

Closed Posted 6 years ago Paid on delivery
Closed Paid on delivery

Short Summary/Elevator Pitch:

We are in need of someone with a background in mathematics to assist in the creation of a formula that can convert a set of 3 angles (Euler angles) into a set of numbers that represent how much the muscles in the human eye are contracting.

Project Description:

We are creating a 3D application in Unity3D that emulates the movement of the human eye. The human eye contains 6 muscles that are used to rotate it, and a primary feature of this application is that each individual muscle can be weakened/paralyzed, which alters the way the eye works. In some cases the eye may be limited in how it can move, while in others it may droop or not follow a target correctly. Since 4 of the 6 muscles are angled, we had to use quaternion math in order to accurately represent how the eye rotates.

The Problem:

Despite having an eye that rotates properly, we have been unable to get the eye to track the position of the onscreen mouse.

More Info About the Project:

In our application, we have represented how much an eye muscle contracts as a number between -1 and 1, with -1 being fully contracted, 0 being neither contracted nor stretched, and 1 being fully stretched out. It was designed this way since there are three pairs of "antagonist muscles" in the eye, and when one muscle in the pair contracts, the other stretches proportionally. While there are some real world situations where both muscles in the set can contract simultaneously, our application assumes that only one muscle in the set can contract at any given time. If one muscle is assigned a value, the antagonist muscle is automatically assigned the opposite value.

To change the rotation of the eye in our application, all that needs to happen behind the scenes is changing these muscle values. All of the restrictions and problems that come with muscle weakness are automatically accounted for when the eye goes to rotate.

What makes eye movement so complex is that two sets of muscles in the eye (the vertical muscles which are on the top and bottom, and the oblique muscles which wrap around the eye) are angled. Horizontal movement of the eye is easily represented by contracting one of the two horizontal muscles, but vertical movement of the eye usually requires both a vertical muscle and an oblique muscle. Furthermore, because these muscles are angled, contracting them and pulling the eye usually affects all 3 axes of rotation. Again, we have used quaternion math to properly represent these rotations, and the eye rotates properly when the muscle values are changed.

For our eye, the resting position is looking straight ahead, with the rotation being 0,0,0 (x,y,z). This corresponds to all 6 muscles having a value of 0.

In regards to tracking the mouse, Unity3D has a built in function called "Look At" which can take our digital eye and make it look directly at a point in virtual space. The issue with this is that while the eye would be looking at the mouse, the function does not update the muscle values (which means that all of the extra calculations for muscle weakness are not run). "Look At" does give us the correct rotation of the eye (described as a set of 3 Euler angles), so we can still use it to see what rotation the eye is supposed to be at when it is functioning perfectly.

Engineering Mathematics Matlab and Mathematica Software Architecture

Project ID: #16498380

About the project

7 proposals Remote project Active 5 years ago

7 freelancers are bidding on average $175 for this job

schoudhary1553

Hi there..... Warm Greetings We came along with your request for Create a mathematical formula to be used in a simulation..... and we reviewed your project description. We'd like to help you with confidence and More

$300 AUD in 6 days
(81 Reviews)
6.5
DataDKR

Hi. Thank you for the thorough problem statement. I didn't notice whether or not you mentioned converting between Quaternions and Euler angles as neither an attempt nor candidate solution. Did you already explore th More

$105 AUD in 10 days
(10 Reviews)
4.4
Perry406

A proposal has not yet been provided

$155 AUD in 3 days
(0 Reviews)
0.0
hanszimmermann

I am Cambridge University educated Master of Science in Mathematical Physics and Doctorate in Physics from the german Max-Planck. Society. Ex Director of europaclinic health diagnostic company. Relevant Skills and Ex More

$155 AUD in 3 days
(0 Reviews)
0.0