HTML5 get coordinates of arc's end

If we draw an arc, how can we get coordinates of arc's end (last point) with respect to the center.




function getPoint(c1,c2,radius,angle){
    return [c1+Math.cos(angle)*radius,c2+Math.sin(angle)*radius];
  • c1 and c2 are the coordinates of the center of the arc
  • radius is the arc's radius
  • angle is the last point's angle

Need Your Help

Is there a non-heuristic way of finding the encoding of a string (ie. list)?

unicode encoding utf-8 erlang

For IoDevices one can use io:getopts/1 for example but I couldn't find any method for plain strings.

Telnet connexion with MATLAB

matlab telnet

I'm trying to access a telnet data stream with MATLAB.