Skip navigation
MARKARKARK
Currently Being Moderated

Expression to limit tracking data

Mar 22, 2012 3:38 PM

Hello,

 

Is there an expression to limit the scale of tracking data.  In other words, I would like to take tracking data and reduce the size, so if I track my hand and it moves 10 inches up or down, I can apply it to another and move it only 3 or 4 inches. 

 
Replies
  • Currently Being Moderated
    Mar 30, 2012 5:52 AM   in reply to MARKARKARK

    you can scale any data, also tracking data by something like

     

    var x = value[0];

    var y = value[1];

     

    [x*0.5,y*0.5]

     

     

    (use whatever scale you want to use instead of 0.5)

    however, this always scales the data around the point [0,0] which is not always what you need.

     

    If you use the Simple Link 2D iExpression, scaling can be done with much more options and without any coding at all.

     

    See this tutorial for details.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points