angle&distance (Composition by ale_pq)

Author: ale_pq
License: Public Domain
Date: 2014.03.03
Compatibility: 10.8
Categories:
Required plugins:
(none)

Calculate angle and distance between two points.

itsthejayj's picture
Re: angle&distance (Composition by ale_pq)

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?

smokris's picture
Re: angle&distance (Composition by ale_pq)

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

itsthejayj's picture
Re: angle&distance (Composition by ale_pq)

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

dimitri's picture
Re: angle&distance (Composition by ale_pq)

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

PreviewAttachmentSize
dd_AngleDistance.qtz81.75 KB