title: Jquery Trigonmetry?
body: <p>I have a need to calculate the adjacent angle of a right angle triangle formed by a rectangle that is dictated by two sets of points. My plan is to use offset() on two elements to get absolute position co-ordinates, then determine the internal angle from the bottom left corner of this implied box so that i may rotate a thin rectangle element using css rotate.</p>
  
  <p>Possible? </p>
  
  <p>The only part i wouldn't know how to do right off the bat is the trigonometry syntax, and whether i need an external library for that.</p>
  
  <p>*Note: I do understand that css rotate would rotate around the center of the element, so i would have to shift the rectangle over to compensate.</p>