Draw angle curve between two vectors

How to draw angle curve between two vectors like below pictures in p5js

My current drawing looks like below

Here is the example sketch: https://editor.p5js.org/sarathjasrin/sketches/EVFh7Ni3n

Thanks in advance

for every line you need to get a direction (use atan2()). After that use the arc() function to draw it.



1 Like