I think CanvasRenderingContext2D.arc() would be faster if it were specified in terms of the coordinates of a chord of the unit circle instead of start and end angles…
-
-
Replying to @pcwalton
Just to avoid the cos/sin call, or are there other gains?
1 reply 0 retweets 0 likes -
Replying to @ChristianSonne
To avoid inverse trig functions in round join/cap code, mostly.
1 reply 0 retweets 0 likes
Replying to @pcwalton @ChristianSonne
Oh, you mean for arcs. Yeah, to avoid cos/sin.
8:47 AM - 23 May 2019
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.