## Recent topics-
*4 weeks 3 days*ago -
*4 weeks 4 days*ago -
*6 weeks 2 days*ago -
*7 weeks 5 days*ago -
*8 weeks 3 days*ago
## Recent Comments |
## angle&distance (Composition by ale_pq)
Calculate angle and distance between two points. ## More like this |

File not found on link.

Shame because I use the angle&distance plugin all the time, would be good to promote this plug in more. Were you the original creator?

(There was a server error with the file. Fixed; try downloading again.)

ok thanks Steve.

Excellent composition much thanks, the javascript is very useful. But begs the question isn't it more efficient to use the angle&distant plugin rather than a javascript patch

Angle&distance plugin by @zanroversi http://kineme.net/forum/Woodshed/TableTennis

Or the other way round, with 2 math patches.

Angle : atan2((x1-x2),(y1-y2))

Distance : sqrt((x1-x2)^2+(y1-y2)^2)

Side note, the atan2 function returns angle from the vertical axis. http://en.wikipedia.org/wiki/Atan2